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