#[repr(C)]pub struct SystemUseHeader {
pub sig: [u8; 2],
pub length: u8,
pub version: u8,
}Available on crate features
alloc and sync only.Expand description
Represents SystemUseHeader.
Fields§
§sig: [u8; 2]The sig field.
length: u8The length field.
version: u8The version field.
Trait Implementations§
Source§impl Clone for SystemUseHeader
impl Clone for SystemUseHeader
impl Copy for SystemUseHeader
Source§impl Debug for SystemUseHeader
impl Debug for SystemUseHeader
impl Pod for SystemUseHeader
Source§impl Writable for SystemUseHeader
Available on crate feature std only.
impl Writable for SystemUseHeader
Available on crate feature
std only.Auto Trait Implementations§
impl Freeze for SystemUseHeader
impl RefUnwindSafe for SystemUseHeader
impl Send for SystemUseHeader
impl Sync for SystemUseHeader
impl Unpin for SystemUseHeader
impl UnsafeUnpin for SystemUseHeader
impl UnwindSafe for SystemUseHeader
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.