#[repr(C)]pub struct VertexAttribute {
pub value: i32,
}Expand description
Fields§
§value: i32Implementations§
Source§impl VertexAttribute
impl VertexAttribute
pub fn position() -> Self
pub fn normal() -> Self
pub fn tangent() -> Self
pub fn color() -> Self
pub fn tex_coord0() -> Self
pub fn tex_coord1() -> Self
pub fn tex_coord2() -> Self
pub fn tex_coord3() -> Self
pub fn tex_coord4() -> Self
pub fn tex_coord5() -> Self
pub fn tex_coord6() -> Self
pub fn tex_coord7() -> Self
pub fn blend_weight() -> Self
pub fn blend_indices() -> Self
Trait Implementations§
Source§impl ClassIdentity for VertexAttribute
impl ClassIdentity for VertexAttribute
Source§impl Clone for VertexAttribute
impl Clone for VertexAttribute
Source§fn clone(&self) -> VertexAttribute
fn clone(&self) -> VertexAttribute
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VertexAttribute
impl Debug for VertexAttribute
Source§impl PartialEq for VertexAttribute
impl PartialEq for VertexAttribute
impl Copy for VertexAttribute
impl Eq for VertexAttribute
impl StructuralPartialEq for VertexAttribute
Auto Trait Implementations§
impl Freeze for VertexAttribute
impl RefUnwindSafe for VertexAttribute
impl Send for VertexAttribute
impl Sync for VertexAttribute
impl Unpin for VertexAttribute
impl UnwindSafe for VertexAttribute
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)