pub struct Object {
pub name: Option<&'static str>,
pub vertices: Vec<Vertex>,
pub indices: Vec<u16>,
pub pipeline: Pipeline,
pub pipeline_id: Option<usize>,
pub window_size: PhysicalSize<u32>,
pub width: f32,
pub height: f32,
pub depth: f32,
pub changed: bool,
pub transformation_matrix: Matrix4<f32>,
pub color: Array,
}
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T> Downcast<T> for T
impl<T, U> Into<U> for T where
U: From<T>,
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.