#[repr(transparent)]pub struct Tangent(pub [f32; 4]);
Expand description
Type for tangent attribute of vertex. W represents handedness and should always be 1 or -1
Tuple Fields§
§0: [f32; 4]
Trait Implementations§
Source§impl AsAttribute for Tangent
impl AsAttribute for Tangent
Source§impl PartialOrd for Tangent
impl PartialOrd for Tangent
impl Copy for Tangent
impl StructuralPartialEq for Tangent
Auto Trait Implementations§
impl Freeze for Tangent
impl RefUnwindSafe for Tangent
impl Send for Tangent
impl Sync for Tangent
impl Unpin for Tangent
impl UnwindSafe for Tangent
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
)