Struct comfy_core::SpriteVertex
source · #[repr(C)]pub struct SpriteVertex {
pub position: [f32; 3],
pub tex_coords: [f32; 2],
pub color: [f32; 4],
}Fields§
§position: [f32; 3]§tex_coords: [f32; 2]§color: [f32; 4]Implementations§
Trait Implementations§
source§impl Clone for SpriteVertex
impl Clone for SpriteVertex
source§fn clone(&self) -> SpriteVertex
fn clone(&self) -> SpriteVertex
Returns a copy 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 SpriteVertex
impl Debug for SpriteVertex
impl Copy for SpriteVertex
impl Pod for SpriteVertex
Auto Trait Implementations§
impl RefUnwindSafe for SpriteVertex
impl Send for SpriteVertex
impl Sync for SpriteVertex
impl Unpin for SpriteVertex
impl UnwindSafe for SpriteVertex
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
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere 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.source§fn 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.