pub struct CellMap<'a> {
pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> CellMap<'a>
impl<'a> CellMap<'a>
pub const VT_NAME_HASH: VOffsetT = 4
pub const VT_NAME: VOffsetT = 6
pub const VT_IMAGE_PATH: VOffsetT = 8
pub const VT_IMAGE_PATH_HASH: VOffsetT = 10
pub const VT_SIZE_ORIGINAL: VOffsetT = 12
pub const VT_WRAP_MODE: VOffsetT = 14
pub const VT_FILTER_MODE: VOffsetT = 16
pub const VT_CELLS: VOffsetT = 18
pub unsafe fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: Allocator + 'bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args CellMapArgs<'args>, ) -> WIPOffset<CellMap<'bldr>>
pub fn unpack(&self) -> CellMapT
pub fn name_hash(&self) -> u32
pub fn key_compare_less_than(&self, o: &CellMap<'_>) -> bool
pub fn key_compare_with_value(&self, val: u32) -> Ordering
pub fn name(&self) -> &'a str
pub fn image_path(&self) -> &'a str
pub fn image_path_hash(&self) -> u32
pub fn size_original(&self) -> Vec2<'a>
pub fn wrap_mode(&self) -> TexWrapMode
pub fn filter_mode(&self) -> TexFilterMode
pub fn cells(&self) -> Option<Vector<'a, ForwardsUOffset<Cell<'a>>>>
Trait Implementations§
impl<'a> Copy for CellMap<'a>
impl<'a> StructuralPartialEq for CellMap<'a>
Auto Trait Implementations§
impl<'a> Freeze for CellMap<'a>
impl<'a> RefUnwindSafe for CellMap<'a>
impl<'a> Send for CellMap<'a>
impl<'a> Sync for CellMap<'a>
impl<'a> Unpin for CellMap<'a>
impl<'a> UnsafeUnpin for CellMap<'a>
impl<'a> UnwindSafe for CellMap<'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