#[repr(C)]pub struct Texcoord32 {
pub page: u32,
pub min_x: f32,
pub min_y: f32,
pub max_x: f32,
pub max_y: f32,
}
Expand description
An element coordinate representing f32
position.
page
: A page index of texture.min_x
: A minimum x position (normalized).min_y
: A minimum y position (normalized).max_x
: A maximum x position (normalized).max_y
: A maximum y position (normalized).
Fields§
§page: u32
§min_x: f32
§min_y: f32
§max_x: f32
§max_y: f32
Trait Implementations§
Source§impl Clone for Texcoord32
impl Clone for Texcoord32
Source§fn clone(&self) -> Texcoord32
fn clone(&self) -> Texcoord32
Returns a duplicate 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 Texcoord32
impl Debug for Texcoord32
Source§impl Default for Texcoord32
impl Default for Texcoord32
Source§fn default() -> Texcoord32
fn default() -> Texcoord32
Returns the “default value” for a type. Read more
Source§impl From<Texcoord> for Texcoord32
impl From<Texcoord> for Texcoord32
Source§impl PartialEq for Texcoord32
impl PartialEq for Texcoord32
impl Copy for Texcoord32
impl StructuralPartialEq for Texcoord32
Auto Trait Implementations§
impl Freeze for Texcoord32
impl RefUnwindSafe for Texcoord32
impl Send for Texcoord32
impl Sync for Texcoord32
impl Unpin for Texcoord32
impl UnwindSafe for Texcoord32
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