Struct tiny_game_framework::Mesh
source · pub struct Mesh {
pub vertices: Vec<Vertex>,
pub indices: Vec<u32>,
pub VAO: u32,
pub position: Vector3D,
/* private fields */
}
Fields§
§vertices: Vec<Vertex>
§indices: Vec<u32>
§VAO: u32
§position: Vector3D
Implementations§
Trait Implementations§
source§impl PartialEq for Mesh
impl PartialEq for Mesh
impl StructuralPartialEq for Mesh
Auto Trait Implementations§
impl Freeze for Mesh
impl RefUnwindSafe for Mesh
impl Send for Mesh
impl Sync for Mesh
impl Unpin for Mesh
impl UnwindSafe for Mesh
Blanket Implementations§
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