Struct basalt::atlas::Coords [−][src]
pub struct Coords {
pub img_id: AtlasImageID,
pub sub_img_id: SubImageID,
pub x: u32,
pub y: u32,
pub w: u32,
pub h: u32,
}
Fields
img_id: AtlasImageID
sub_img_id: SubImageID
x: u32
y: u32
w: u32
h: u32
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Coords
impl UnwindSafe for Coords
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.