pub struct SfdpHeader {
pub signature: u32,
pub minor: u8,
pub major: u8,
pub nph: u8,
pub reserved: u8,
}
Expand description
The SFDP header identifies a valid SFDP, its version and the number of parameter headers.
Fields§
§signature: u32
§minor: u8
§major: u8
§nph: u8
§reserved: u8
Trait Implementations§
Source§impl Annotate for &SfdpHeader
impl Annotate for &SfdpHeader
fn format(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
Source§impl Annotate for SfdpHeader
impl Annotate for SfdpHeader
fn format(&self, _variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment( &self, _variant: Option<&str>, field: &MemberId<'_>, ) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
Source§impl Debug for SfdpHeader
impl Debug for SfdpHeader
Source§impl Serialize for SfdpHeader
impl Serialize for SfdpHeader
Auto Trait Implementations§
impl Freeze for SfdpHeader
impl RefUnwindSafe for SfdpHeader
impl Send for SfdpHeader
impl Sync for SfdpHeader
impl Unpin for SfdpHeader
impl UnwindSafe for SfdpHeader
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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