#[repr(C)]pub struct ManifestExtHeader {
pub identifier: u32,
pub name: u32,
}
Expand description
Extension header.
Fields§
§identifier: u32
§name: u32
Trait Implementations§
Source§impl Debug for ManifestExtHeader
impl Debug for ManifestExtHeader
Source§impl Default for ManifestExtHeader
impl Default for ManifestExtHeader
Source§fn default() -> ManifestExtHeader
fn default() -> ManifestExtHeader
Returns the “default value” for a type. Read more
Source§impl FromBytes for ManifestExtHeaderwhere
u32: FromBytes,
impl FromBytes for ManifestExtHeaderwhere
u32: FromBytes,
Source§impl FromZeros for ManifestExtHeaderwhere
u32: FromZeros,
impl FromZeros for ManifestExtHeaderwhere
u32: FromZeros,
Source§impl IntoBytes for ManifestExtHeader
impl IntoBytes for ManifestExtHeader
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl TryFromBytes for ManifestExtHeaderwhere
u32: TryFromBytes,
impl TryFromBytes for ManifestExtHeaderwhere
u32: TryFromBytes,
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Immutable for ManifestExtHeaderwhere
u32: Immutable,
Auto Trait Implementations§
impl Freeze for ManifestExtHeader
impl RefUnwindSafe for ManifestExtHeader
impl Send for ManifestExtHeader
impl Sync for ManifestExtHeader
impl Unpin for ManifestExtHeader
impl UnwindSafe for ManifestExtHeader
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