pub struct ObjectDesc {
pub vertex_data: Vec<u8>,
pub vertex_count: u32,
pub color: [f32; 4],
}Expand description
A minimal object within a scene.
Fields§
§vertex_data: Vec<u8>§vertex_count: u32§color: [f32; 4]Implementations§
Trait Implementations§
Source§impl Clone for ObjectDesc
impl Clone for ObjectDesc
Source§fn clone(&self) -> ObjectDesc
fn clone(&self) -> ObjectDesc
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ObjectDesc
impl RefUnwindSafe for ObjectDesc
impl Send for ObjectDesc
impl Sync for ObjectDesc
impl Unpin for ObjectDesc
impl UnsafeUnpin for ObjectDesc
impl UnwindSafe for ObjectDesc
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