pub struct IntegrityLayout {
pub data: u16,
pub parity: u16,
pub block_size: u32,
pub legacy: bool,
}Fields§
§data: u16§parity: u16§block_size: u32§legacy: boolImplementations§
Trait Implementations§
Source§impl Clone for IntegrityLayout
impl Clone for IntegrityLayout
impl Copy for IntegrityLayout
Source§impl Debug for IntegrityLayout
impl Debug for IntegrityLayout
Source§impl<'de> Deserialize<'de> for IntegrityLayout
impl<'de> Deserialize<'de> for IntegrityLayout
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 IntegrityLayout
Source§impl Hash for IntegrityLayout
impl Hash for IntegrityLayout
Source§impl PartialEq for IntegrityLayout
impl PartialEq for IntegrityLayout
Source§impl Serialize for IntegrityLayout
impl Serialize for IntegrityLayout
impl StructuralPartialEq for IntegrityLayout
Auto Trait Implementations§
impl Freeze for IntegrityLayout
impl RefUnwindSafe for IntegrityLayout
impl Send for IntegrityLayout
impl Sync for IntegrityLayout
impl Unpin for IntegrityLayout
impl UnsafeUnpin for IntegrityLayout
impl UnwindSafe for IntegrityLayout
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