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
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§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Note<'a>
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§
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