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§
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>
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.