#[repr(C, align(16))]pub struct VertexTexture { /* private fields */ }Expand description
Textured vertex struct
Implementations§
Source§impl VertexTexture
impl VertexTexture
Sourcepub fn get_attributes() -> Vec<Attribute>
pub fn get_attributes() -> Vec<Attribute>
Gets list of vertex attributes used in shaders
Trait Implementations§
Source§impl Clone for VertexTexture
impl Clone for VertexTexture
Source§fn clone(&self) -> VertexTexture
fn clone(&self) -> VertexTexture
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 Default for VertexTexture
impl Default for VertexTexture
Source§fn default() -> VertexTexture
fn default() -> VertexTexture
Returns the “default value” for a type. Read more
impl Copy for VertexTexture
Auto Trait Implementations§
impl Freeze for VertexTexture
impl RefUnwindSafe for VertexTexture
impl Send for VertexTexture
impl Sync for VertexTexture
impl Unpin for VertexTexture
impl UnwindSafe for VertexTexture
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