#[repr(C)]pub struct Common {
pub samples_and_rays: [[f32; 4]; 25],
pub sample_count: u32,
pub ray_count: u32,
}
Fields
samples_and_rays: [[f32; 4]; 25]
sample_count: u32
ray_count: u32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Common
impl Send for Common
impl Sync for Common
impl Unpin for Common
impl UnwindSafe for Common
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> BufferContents for T where
T: Pod + Send + Sync,
impl<T> BufferContents for T where
T: Pod + Send + Sync,
sourcefn as_bytes(&self) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
fn as_bytes(&self) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
Converts an immutable reference to Self
to an immutable byte slice.
sourcefn from_bytes(bytes: &[u8]) -> Result<&T, PodCastError>
fn from_bytes(bytes: &[u8]) -> Result<&T, PodCastError>
Converts an immutable byte slice into an immutable reference to Self
.
sourcefn from_bytes_mut(bytes: &mut [u8]) -> Result<&mut T, PodCastError>
fn from_bytes_mut(bytes: &mut [u8]) -> Result<&mut T, PodCastError>
Converts a mutable byte slice into a mutable reference to Self
.
sourcefn size_of_element() -> u64
fn size_of_element() -> u64
Returns the size of an element of the type.
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more