Struct wgpu::hal::AccelerationStructureTriangleTransform
source · pub struct AccelerationStructureTriangleTransform<'a, A>where
A: Api,{
pub buffer: &'a <A as Api>::Buffer,
pub offset: u32,
}
Expand description
offset
- offset in bytes
Fields§
§buffer: &'a <A as Api>::Buffer
§offset: u32
Trait Implementations§
source§impl<'a, A> Clone for AccelerationStructureTriangleTransform<'a, A>
impl<'a, A> Clone for AccelerationStructureTriangleTransform<'a, A>
source§fn clone(&self) -> AccelerationStructureTriangleTransform<'a, A>
fn clone(&self) -> AccelerationStructureTriangleTransform<'a, A>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a, A> RefUnwindSafe for AccelerationStructureTriangleTransform<'a, A>
impl<'a, A> Send for AccelerationStructureTriangleTransform<'a, A>
impl<'a, A> Sync for AccelerationStructureTriangleTransform<'a, A>
impl<'a, A> Unpin for AccelerationStructureTriangleTransform<'a, A>
impl<'a, A> UnwindSafe for AccelerationStructureTriangleTransform<'a, A>
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