Struct wgpu_hal::AccelerationStructureInstances
source · pub struct AccelerationStructureInstances<'a, B: DynBuffer + ?Sized> {
pub buffer: Option<&'a B>,
pub offset: u32,
pub count: u32,
}
Expand description
offset
- offset in bytes
Fields§
§buffer: Option<&'a B>
§offset: u32
§count: u32
Trait Implementations§
Auto Trait Implementations§
impl<'a, B: ?Sized> RefUnwindSafe for AccelerationStructureInstances<'a, B>where
B: RefUnwindSafe,
impl<'a, B: ?Sized> Send for AccelerationStructureInstances<'a, B>
impl<'a, B: ?Sized> Sync for AccelerationStructureInstances<'a, B>
impl<'a, B: ?Sized> Unpin for AccelerationStructureInstances<'a, B>
impl<'a, B: ?Sized> UnwindSafe for AccelerationStructureInstances<'a, B>where
B: RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more