Trait MewVertexStruct

Source
pub trait MewVertexStruct {
    type Bytes;
    type Inners;
    type InnerRefs<'i>
       where Self: 'i;
    type InnerMuts<'i>
       where Self: 'i;

    // Required methods
    fn from_inners(inners: Self::Inners) -> Self;
    fn zeroed() -> Self;
    fn get_refs<'i>(&'i self) -> Self::InnerRefs<'i>;
    fn get_muts<'i>(&'i mut self) -> Self::InnerMuts<'i>;
    fn vertex_layout() -> VertexBufferLayout<'static>;
}

Required Associated Types§

Source

type Bytes

Source

type Inners

Source

type InnerRefs<'i> where Self: 'i

Source

type InnerMuts<'i> where Self: 'i

Required Methods§

Source

fn from_inners(inners: Self::Inners) -> Self

Source

fn zeroed() -> Self

Source

fn get_refs<'i>(&'i self) -> Self::InnerRefs<'i>

Source

fn get_muts<'i>(&'i mut self) -> Self::InnerMuts<'i>

Source

fn vertex_layout() -> VertexBufferLayout<'static>

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§