#[repr(transparent)]pub struct Normal(pub [f32; 3]);
Expand description
Type for texture coord attribute of vertex
Tuple Fields§
§0: [f32; 3]
Trait Implementations§
Source§impl AsAttribute for Normal
impl AsAttribute for Normal
Source§impl PartialOrd for Normal
impl PartialOrd for Normal
impl Copy for Normal
impl StructuralPartialEq for Normal
Auto Trait Implementations§
impl Freeze for Normal
impl RefUnwindSafe for Normal
impl Send for Normal
impl Sync for Normal
impl Unpin for Normal
impl UnwindSafe for Normal
Blanket Implementations§
Source§impl<T> AsVertex for Twhere
T: AsAttribute,
impl<T> AsVertex for Twhere
T: AsAttribute,
Source§fn vertex() -> VertexFormat
fn vertex() -> VertexFormat
List of all attributes formats with name and offset.
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)