pub struct AtlasEntry {
pub key: ([u32; 4], i64),
pub texture: (i32, i64),
pub alpha: (i32, i64),
pub rect: [f32; 4],
pub settings: u32,
}Expand description
One entry of an atlas’s m_RenderDataMap: its key (a GUID’s words
and an id) and its SpriteAtlasData’s texture, alpha texture (null:
none), rectangle and settings.
Fields§
§key: ([u32; 4], i64)first: the GUID’s words and the id.
texture: (i32, i64)texture.
alpha: (i32, i64)alphaTexture.
rect: [f32; 4]textureRect.
settings: u32settingsRaw.
Implementations§
Trait Implementations§
Source§impl Clone for AtlasEntry
impl Clone for AtlasEntry
impl Copy for AtlasEntry
Source§impl Debug for AtlasEntry
impl Debug for AtlasEntry
Source§impl PartialEq for AtlasEntry
impl PartialEq for AtlasEntry
impl StructuralPartialEq for AtlasEntry
Auto Trait Implementations§
impl Forget for AtlasEntry
impl Freeze for AtlasEntry
impl Move for AtlasEntry
impl RefUnwindSafe for AtlasEntry
impl Send for AtlasEntry
impl Sync for AtlasEntry
impl Unpin for AtlasEntry
impl UnsafeUnpin for AtlasEntry
impl UnwindSafe for AtlasEntry
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