#[repr(transparent)]pub struct TexCoord(pub [f32; 2]);
Expand description
Type for texture coord attribute of vertex
Tuple Fields§
§0: [f32; 2]
Trait Implementations§
Source§impl AsAttribute for TexCoord
impl AsAttribute for TexCoord
Source§impl PartialOrd for TexCoord
impl PartialOrd for TexCoord
impl Copy for TexCoord
impl StructuralPartialEq for TexCoord
Auto Trait Implementations§
impl Freeze for TexCoord
impl RefUnwindSafe for TexCoord
impl Send for TexCoord
impl Sync for TexCoord
impl Unpin for TexCoord
impl UnwindSafe for TexCoord
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
)