Expand description
A 32/64 bit Note struct, with the name and desc pre-parsed
Fields
n_type: u32
The type of this note
name: &'a str
NUL terminated string, where namesz
includes the terminator
desc: &'a [u8]
arbitrary data of length descsz
Implementations
sourceimpl<'a> Note<'a>
impl<'a> Note<'a>
pub fn type_to_str(&self) -> &'static str
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Note<'a>
impl<'a> Send for Note<'a>
impl<'a> Sync for Note<'a>
impl<'a> Unpin for Note<'a>
impl<'a> UnwindSafe for Note<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more