pub struct Fnt<'a> {
pub subtables: Box<[FntSubtable<'a>]>,
}Expand description
File Name Table or FNT for short. Contains the names of every file and directory in the ROM. This is the raw struct, see the plain one here.
Fields§
§subtables: Box<[FntSubtable<'a>]>Every directory has one subtable, indexed by dir_id & 0xfff
Implementations§
Source§impl<'a> Fnt<'a>
impl<'a> Fnt<'a>
Sourcepub fn borrow_from_slice(data: &'a [u8]) -> Result<Self, RawFntError>
pub fn borrow_from_slice(data: &'a [u8]) -> Result<Self, RawFntError>
Auto Trait Implementations§
impl<'a> Freeze for Fnt<'a>
impl<'a> RefUnwindSafe for Fnt<'a>
impl<'a> Send for Fnt<'a>
impl<'a> Sync for Fnt<'a>
impl<'a> Unpin for Fnt<'a>
impl<'a> UnsafeUnpin for Fnt<'a>
impl<'a> UnwindSafe for Fnt<'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