pub struct NoteBlocks {
pub layers: Vec<Layer>,
}Fields§
§layers: Vec<Layer>Layers of the File.
Implementations§
Source§impl NoteBlocks
impl NoteBlocks
Source§impl NoteBlocks
impl NoteBlocks
pub fn calculate_length(&self) -> i16
pub fn decode<R>(
reader: &mut R,
header: &Header,
) -> Result<NoteBlocks, NbsError>where
R: ReadStringExt,
pub fn encode<W>(
&self,
format: NbsFormat,
writer: &mut W,
) -> Result<(), NbsError>where
W: WriteStringExt,
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NoteBlocks
impl RefUnwindSafe for NoteBlocks
impl Send for NoteBlocks
impl Sync for NoteBlocks
impl Unpin for NoteBlocks
impl UnsafeUnpin for NoteBlocks
impl UnwindSafe for NoteBlocks
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