pub struct AtlasEntry {
pub origin: [u32; 2],
pub size: [u32; 2],
pub uv_min: [f32; 2],
pub uv_max: [f32; 2],
}Fields§
§origin: [u32; 2]§size: [u32; 2]§uv_min: [f32; 2]§uv_max: [f32; 2]Trait Implementations§
Source§impl Clone for AtlasEntry
impl Clone for AtlasEntry
Source§fn clone(&self) -> AtlasEntry
fn clone(&self) -> AtlasEntry
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 AtlasEntry
impl Debug for AtlasEntry
Source§impl PartialEq for AtlasEntry
impl PartialEq for AtlasEntry
Source§fn eq(&self, other: &AtlasEntry) -> bool
fn eq(&self, other: &AtlasEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AtlasEntry
impl StructuralPartialEq for AtlasEntry
Auto Trait Implementations§
impl Freeze 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