Struct Note
Source pub struct Note<'a> {
pub n_type: u32,
pub name: &'a str,
pub desc: &'a [u8],
}
Expand description
A 32/64 bit Note struct, with the name and desc pre-parsed
NUL terminated string, where namesz includes the terminator
arbitrary data of length descsz
Formats the value using the given formatter.
Read moreSource§Available on crate feature alloc only.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.