Struct fuchsia_bootfs::bootfs::zbi_bootfs_header_t
source · #[repr(C)]pub struct zbi_bootfs_header_t {
pub magic: U32,
pub dirsize: U32,
pub reserved0: U32,
pub reserved1: U32,
}
Fields§
§magic: U32
§dirsize: U32
§reserved0: U32
§reserved1: U32
Trait Implementations§
source§impl Clone for zbi_bootfs_header_t
impl Clone for zbi_bootfs_header_t
source§fn clone(&self) -> zbi_bootfs_header_t
fn clone(&self) -> zbi_bootfs_header_t
Returns a copy of the value. Read more
1.0.0 · 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 zbi_bootfs_header_t
impl Debug for zbi_bootfs_header_t
source§impl Default for zbi_bootfs_header_t
impl Default for zbi_bootfs_header_t
source§fn default() -> zbi_bootfs_header_t
fn default() -> zbi_bootfs_header_t
Returns the “default value” for a type. Read more
source§impl FromBytes for zbi_bootfs_header_twhere
U32: FromBytes,
impl FromBytes for zbi_bootfs_header_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_header_twhere
U32: FromZeros,
impl FromZeros for zbi_bootfs_header_twhere
U32: FromZeros,
impl Copy for zbi_bootfs_header_t
impl Unaligned for zbi_bootfs_header_twhere
U32: Unaligned,
Auto Trait Implementations§
impl Freeze for zbi_bootfs_header_t
impl RefUnwindSafe for zbi_bootfs_header_t
impl Send for zbi_bootfs_header_t
impl Sync for zbi_bootfs_header_t
impl Unpin for zbi_bootfs_header_t
impl UnwindSafe for zbi_bootfs_header_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