pub struct UnpackedArrayLayout {
pub element_width: usize,
pub element_count: usize,
pub element_stride: usize,
pub plane_size: usize,
}Fields§
§element_width: usize§element_count: usize§element_stride: usize§plane_size: usizeTrait Implementations§
Source§impl Clone for UnpackedArrayLayout
impl Clone for UnpackedArrayLayout
Source§fn clone(&self) -> UnpackedArrayLayout
fn clone(&self) -> UnpackedArrayLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UnpackedArrayLayout
Source§impl Debug for UnpackedArrayLayout
impl Debug for UnpackedArrayLayout
Source§impl<'de> Deserialize<'de> for UnpackedArrayLayout
impl<'de> Deserialize<'de> for UnpackedArrayLayout
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UnpackedArrayLayout
Source§impl PartialEq for UnpackedArrayLayout
impl PartialEq for UnpackedArrayLayout
Source§impl Serialize for UnpackedArrayLayout
impl Serialize for UnpackedArrayLayout
impl StructuralPartialEq for UnpackedArrayLayout
Auto Trait Implementations§
impl Freeze for UnpackedArrayLayout
impl RefUnwindSafe for UnpackedArrayLayout
impl Send for UnpackedArrayLayout
impl Sync for UnpackedArrayLayout
impl Unpin for UnpackedArrayLayout
impl UnsafeUnpin for UnpackedArrayLayout
impl UnwindSafe for UnpackedArrayLayout
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