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> Freeze for AccelerationStructureInstances<'a, B>where
B: ?Sized,
impl<'a, B> RefUnwindSafe for AccelerationStructureInstances<'a, B>where
B: RefUnwindSafe + ?Sized,
impl<'a, B> Send for AccelerationStructureInstances<'a, B>where
B: ?Sized,
impl<'a, B> Sync for AccelerationStructureInstances<'a, B>where
B: ?Sized,
impl<'a, B> Unpin for AccelerationStructureInstances<'a, B>where
B: ?Sized,
impl<'a, B> UnwindSafe for AccelerationStructureInstances<'a, B>where
B: RefUnwindSafe + ?Sized,
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