#[repr(C)]pub struct TextureVertex {
pub x: f32,
pub y: f32,
pub z: f32,
pub tx: f32,
pub ty: f32,
pub color: Color,
}
Fields§
§x: f32
§y: f32
§z: f32
§tx: f32
§ty: f32
§color: Color
Trait Implementations§
Source§impl Clone for TextureVertex
impl Clone for TextureVertex
Source§fn clone(&self) -> TextureVertex
fn clone(&self) -> TextureVertex
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 TextureVertex
impl Debug for TextureVertex
Source§impl PartialEq for TextureVertex
impl PartialEq for TextureVertex
impl StructuralPartialEq for TextureVertex
Auto Trait Implementations§
impl Freeze for TextureVertex
impl RefUnwindSafe for TextureVertex
impl !Send for TextureVertex
impl !Sync for TextureVertex
impl Unpin for TextureVertex
impl UnwindSafe for TextureVertex
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