Struct wgpu_hal::TlasInstance
source · pub struct TlasInstance {
pub transform: [f32; 12],
pub custom_index: u32,
pub mask: u8,
pub blas_address: u64,
}
Fields§
§transform: [f32; 12]
§custom_index: u32
§mask: u8
§blas_address: u64
Trait Implementations§
source§impl Clone for TlasInstance
impl Clone for TlasInstance
source§fn clone(&self) -> TlasInstance
fn clone(&self) -> TlasInstance
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 moresource§impl Debug for TlasInstance
impl Debug for TlasInstance
impl Copy for TlasInstance
Auto Trait Implementations§
impl Freeze for TlasInstance
impl RefUnwindSafe for TlasInstance
impl Send for TlasInstance
impl Sync for TlasInstance
impl Unpin for TlasInstance
impl UnwindSafe for TlasInstance
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)