Struct dunge::TextureVertex
source · [−]Expand description
Vertex for drawing textured triangles.
Fields
pos: [f32; 3]
map: [f32; 2]
Trait Implementations
sourceimpl Clone for TextureVertex
impl Clone for TextureVertex
sourcefn clone(&self) -> TextureVertex
fn clone(&self) -> TextureVertex
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TextureVertex
impl Debug for TextureVertex
impl Copy for TextureVertex
impl Vertex for TextureVertex
Auto Trait Implementations
impl RefUnwindSafe for TextureVertex
impl Send for TextureVertex
impl Sync for TextureVertex
impl Unpin for TextureVertex
impl UnwindSafe for TextureVertex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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