pub struct InodeFormat {
pub version: InodeVersion,
pub data_layout: InodeDataLayout,
}Expand description
The format of the inode, containing the version and data layout.
Fields§
§version: InodeVersion§data_layout: InodeDataLayoutImplementations§
Source§impl InodeFormat
impl InodeFormat
Sourcepub fn parse(format: u16) -> Result<Self, ParsingError>
pub fn parse(format: u16) -> Result<Self, ParsingError>
Parse the inode format from the given format value.
Trait Implementations§
Source§impl Clone for InodeFormat
impl Clone for InodeFormat
Source§fn clone(&self) -> InodeFormat
fn clone(&self) -> InodeFormat
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 moreSource§impl Debug for InodeFormat
impl Debug for InodeFormat
impl Copy for InodeFormat
Auto Trait Implementations§
impl Freeze for InodeFormat
impl RefUnwindSafe for InodeFormat
impl Send for InodeFormat
impl Sync for InodeFormat
impl Unpin for InodeFormat
impl UnsafeUnpin for InodeFormat
impl UnwindSafe for InodeFormat
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