Struct chair::AtlasRegion
source · pub struct AtlasRegion {
pub xy: [f32; 2],
pub x2y: [f32; 2],
pub x2y2: [f32; 2],
pub xy2: [f32; 2],
}
Expand description
A region from an atlas
Fields§
§xy: [f32; 2]
§x2y: [f32; 2]
§x2y2: [f32; 2]
§xy2: [f32; 2]
Implementations§
Trait Implementations§
source§impl Clone for AtlasRegion
impl Clone for AtlasRegion
source§fn clone(&self) -> AtlasRegion
fn clone(&self) -> AtlasRegion
Returns a copy of the value. Read more
1.0.0 · 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 AtlasRegion
impl Debug for AtlasRegion
impl Copy for AtlasRegion
Auto Trait Implementations§
impl Freeze for AtlasRegion
impl RefUnwindSafe for AtlasRegion
impl Send for AtlasRegion
impl Sync for AtlasRegion
impl Unpin for AtlasRegion
impl UnwindSafe for AtlasRegion
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