Struct fuchsia_bootfs::bootfs::zbi_bootfs_dirent_t
source · #[repr(C)]pub struct zbi_bootfs_dirent_t {
pub name_len: U32,
pub data_len: U32,
pub data_off: U32,
}
Fields§
§name_len: U32
§data_len: U32
§data_off: U32
Trait Implementations§
source§impl Debug for zbi_bootfs_dirent_t
impl Debug for zbi_bootfs_dirent_t
source§impl Default for zbi_bootfs_dirent_t
impl Default for zbi_bootfs_dirent_t
source§fn default() -> zbi_bootfs_dirent_t
fn default() -> zbi_bootfs_dirent_t
Returns the “default value” for a type. Read more
source§impl FromBytes for zbi_bootfs_dirent_twhere
U32: FromBytes,
impl FromBytes for zbi_bootfs_dirent_twhere
U32: 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 zbi_bootfs_dirent_twhere
U32: FromZeros,
impl FromZeros for zbi_bootfs_dirent_twhere
U32: FromZeros,
impl Unaligned for zbi_bootfs_dirent_twhere
U32: Unaligned,
Auto Trait Implementations§
impl Freeze for zbi_bootfs_dirent_t
impl RefUnwindSafe for zbi_bootfs_dirent_t
impl Send for zbi_bootfs_dirent_t
impl Sync for zbi_bootfs_dirent_t
impl Unpin for zbi_bootfs_dirent_t
impl UnwindSafe for zbi_bootfs_dirent_t
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