pub struct Moc3SectionOffsets { /* private fields */ }Implementations§
Source§impl Moc3SectionOffsets
impl Moc3SectionOffsets
pub fn parse(bytes: &[u8]) -> Result<Self>
pub fn count_info_offset(&self) -> u32
pub fn canvas_info_offset(&self) -> u32
pub fn section_offsets(&self) -> &[u32; 160]
pub fn section_offset(&self, index: usize) -> Option<u32>
Trait Implementations§
Source§impl Clone for Moc3SectionOffsets
impl Clone for Moc3SectionOffsets
Source§fn clone(&self) -> Moc3SectionOffsets
fn clone(&self) -> Moc3SectionOffsets
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Moc3SectionOffsets
impl Debug for Moc3SectionOffsets
impl Eq for Moc3SectionOffsets
Source§impl PartialEq for Moc3SectionOffsets
impl PartialEq for Moc3SectionOffsets
Source§fn eq(&self, other: &Moc3SectionOffsets) -> bool
fn eq(&self, other: &Moc3SectionOffsets) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Moc3SectionOffsets
Auto Trait Implementations§
impl Freeze for Moc3SectionOffsets
impl RefUnwindSafe for Moc3SectionOffsets
impl Send for Moc3SectionOffsets
impl Sync for Moc3SectionOffsets
impl Unpin for Moc3SectionOffsets
impl UnsafeUnpin for Moc3SectionOffsets
impl UnwindSafe for Moc3SectionOffsets
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