Struct ext4_read_only::structs::DirEntryHeader
source · #[repr(C)]pub struct DirEntryHeader {
pub e2d_ino: U32,
pub e2d_reclen: U16,
pub e2d_namlen: u8,
pub e2d_type: u8,
}
Fields§
§e2d_ino: U32
INode number of entry
e2d_reclen: U16
Length of this record.
e2d_namlen: u8
Length of string in e2d_name
.
e2d_type: u8
File type of this entry.
Trait Implementations§
source§impl Debug for DirEntryHeader
impl Debug for DirEntryHeader
source§impl FromBytes for DirEntryHeaderwhere
U32: FromBytes,
U16: FromBytes,
u8: FromBytes,
impl FromBytes for DirEntryHeaderwhere
U32: FromBytes,
U16: FromBytes,
u8: FromBytes,
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeros for DirEntryHeaderwhere
U32: FromZeros,
U16: FromZeros,
u8: FromZeros,
impl FromZeros for DirEntryHeaderwhere
U32: FromZeros,
U16: FromZeros,
u8: FromZeros,
impl Unaligned for DirEntryHeaderwhere
U32: Unaligned,
U16: Unaligned,
u8: Unaligned,
Auto Trait Implementations§
impl Freeze for DirEntryHeader
impl RefUnwindSafe for DirEntryHeader
impl Send for DirEntryHeader
impl Sync for DirEntryHeader
impl Unpin for DirEntryHeader
impl UnwindSafe for DirEntryHeader
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