Expand description
The vertex for quads
Fields
pos: [f32; 3]
Position of the vertex in worldspace
tex_coords: [f32; 2]
The u-v coordinates of the vertex on the texture
Implementations
Trait Implementations
sourceimpl Clone for QuadVertex
impl Clone for QuadVertex
sourcefn clone(&self) -> QuadVertex
fn clone(&self) -> QuadVertex
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for QuadVertex
impl Debug for QuadVertex
sourceimpl Default for QuadVertex
impl Default for QuadVertex
impl Copy for QuadVertex
impl Pod for QuadVertex
Auto Trait Implementations
impl RefUnwindSafe for QuadVertex
impl Send for QuadVertex
impl Sync for QuadVertex
impl Unpin for QuadVertex
impl UnwindSafe for QuadVertex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CheckedBitPattern for T where
T: AnyBitPattern,
impl<T> CheckedBitPattern for T where
T: AnyBitPattern,
type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during is_valid_bit_pattern
. Read more
sourcefn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret bits
as &Self
.