Trait MewVertexPrimitive

Source
pub trait MewVertexPrimitive {
    type Inner;

    // Required methods
    fn new() -> Self;
    fn from_inner(inner: Self::Inner) -> Self;
    fn as_inner_ref(&self) -> &Self::Inner;
    fn as_inner_mut(&mut self) -> &mut Self::Inner;
}

Required Associated Types§

Required Methods§

Source

fn new() -> Self

Source

fn from_inner(inner: Self::Inner) -> Self

Source

fn as_inner_ref(&self) -> &Self::Inner

Source

fn as_inner_mut(&mut self) -> &mut Self::Inner

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl MewVertexPrimitive for Float16x2

Source§

type Inner = [u32; 1]

Source§

impl MewVertexPrimitive for Float16x4

Source§

type Inner = [u64; 1]

Source§

impl MewVertexPrimitive for Float32

Source§

type Inner = [f32; 1]

Source§

impl MewVertexPrimitive for Float32x2

Source§

type Inner = [f32; 2]

Source§

impl MewVertexPrimitive for Float32x3

Source§

type Inner = [f32; 3]

Source§

impl MewVertexPrimitive for Float32x4

Source§

type Inner = [f32; 4]

Source§

impl MewVertexPrimitive for Float64

Source§

type Inner = [f64; 1]

Source§

impl MewVertexPrimitive for Float64x2

Source§

type Inner = [f64; 2]

Source§

impl MewVertexPrimitive for Float64x3

Source§

type Inner = [f64; 3]

Source§

impl MewVertexPrimitive for Float64x4

Source§

type Inner = [f64; 4]

Source§

impl MewVertexPrimitive for Sint8x2

Source§

type Inner = [u8; 2]

Source§

impl MewVertexPrimitive for Sint8x4

Source§

type Inner = [u8; 4]

Source§

impl MewVertexPrimitive for Sint16x2

Source§

type Inner = [u16; 2]

Source§

impl MewVertexPrimitive for Sint16x4

Source§

type Inner = [u16; 4]

Source§

impl MewVertexPrimitive for Sint32

Source§

type Inner = [u32; 1]

Source§

impl MewVertexPrimitive for Sint32x2

Source§

type Inner = [u32; 2]

Source§

impl MewVertexPrimitive for Sint32x3

Source§

type Inner = [u32; 3]

Source§

impl MewVertexPrimitive for Sint32x4

Source§

type Inner = [u32; 4]

Source§

impl MewVertexPrimitive for Snorm8x2

Source§

type Inner = [u8; 2]

Source§

impl MewVertexPrimitive for Snorm8x4

Source§

type Inner = [u8; 4]

Source§

impl MewVertexPrimitive for Snorm16x2

Source§

type Inner = [u16; 2]

Source§

impl MewVertexPrimitive for Snorm16x4

Source§

type Inner = [u16; 4]

Source§

impl MewVertexPrimitive for Uint8x2

Source§

type Inner = [u8; 2]

Source§

impl MewVertexPrimitive for Uint8x4

Source§

type Inner = [u8; 4]

Source§

impl MewVertexPrimitive for Uint16x2

Source§

type Inner = [u16; 2]

Source§

impl MewVertexPrimitive for Uint16x4

Source§

type Inner = [u16; 4]

Source§

impl MewVertexPrimitive for Uint32

Source§

type Inner = [u32; 1]

Source§

impl MewVertexPrimitive for Uint32x2

Source§

type Inner = [u32; 2]

Source§

impl MewVertexPrimitive for Uint32x3

Source§

type Inner = [u32; 3]

Source§

impl MewVertexPrimitive for Uint32x4

Source§

type Inner = [u32; 4]

Source§

impl MewVertexPrimitive for Unorm8x2

Source§

type Inner = [u8; 2]

Source§

impl MewVertexPrimitive for Unorm8x4

Source§

type Inner = [u8; 4]

Source§

impl MewVertexPrimitive for Unorm10_10_2

Source§

type Inner = [u32; 1]

Source§

impl MewVertexPrimitive for Unorm16x2

Source§

type Inner = [u16; 2]

Source§

impl MewVertexPrimitive for Unorm16x4

Source§

type Inner = [u16; 4]