#[repr(C)]pub struct Tex3DS_SubTexture {
pub width: u16_,
pub height: u16_,
pub left: f32,
pub top: f32,
pub right: f32,
pub bottom: f32,
}Expand description
Subtexture
Note: If top < bottom, the subtexture is rotated 1/4 revolution counter-clockwise
Fields§
§width: u16_< Sub-texture width (pixels)
height: u16_< Sub-texture height (pixels)
left: f32< Left u-coordinate
top: f32< Top v-coordinate
right: f32< Right u-coordinate
bottom: f32< Bottom v-coordinate
Trait Implementations§
Source§impl Clone for Tex3DS_SubTexture
impl Clone for Tex3DS_SubTexture
Source§fn clone(&self) -> Tex3DS_SubTexture
fn clone(&self) -> Tex3DS_SubTexture
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Tex3DS_SubTexture
impl Debug for Tex3DS_SubTexture
impl Copy for Tex3DS_SubTexture
Auto Trait Implementations§
impl Freeze for Tex3DS_SubTexture
impl RefUnwindSafe for Tex3DS_SubTexture
impl Send for Tex3DS_SubTexture
impl Sync for Tex3DS_SubTexture
impl Unpin for Tex3DS_SubTexture
impl UnwindSafe for Tex3DS_SubTexture
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)