Struct wgpu::hal::AccelerationStructureDescriptor
source · pub struct AccelerationStructureDescriptor<'a> {
pub label: Option<&'a str>,
pub size: u64,
pub format: AccelerationStructureFormat,
}
Fields§
§label: Option<&'a str>
§size: u64
§format: AccelerationStructureFormat
Trait Implementations§
source§impl<'a> Clone for AccelerationStructureDescriptor<'a>
impl<'a> Clone for AccelerationStructureDescriptor<'a>
source§fn clone(&self) -> AccelerationStructureDescriptor<'a>
fn clone(&self) -> AccelerationStructureDescriptor<'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> RefUnwindSafe for AccelerationStructureDescriptor<'a>
impl<'a> Send for AccelerationStructureDescriptor<'a>
impl<'a> Sync for AccelerationStructureDescriptor<'a>
impl<'a> Unpin for AccelerationStructureDescriptor<'a>
impl<'a> UnwindSafe for AccelerationStructureDescriptor<'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