#[repr(C)]pub struct MeshPrimitive {
pub attributes: Map<String, Id>,
pub indices: Option<Id>,
pub material: Option<Id>,
pub mode: PrimitiveTopology,
pub targets: Vec<Map<String, Id>>,
pub extras: Extras,
pub extensions: Option<Extensions>,
}Fields§
§attributes: Map<String, Id>§indices: Option<Id>§material: Option<Id>§mode: PrimitiveTopology§targets: Vec<Map<String, Id>>§extras: Extras§extensions: Option<Extensions>Trait Implementations§
Source§impl Clone for MeshPrimitive
impl Clone for MeshPrimitive
Source§fn clone(&self) -> MeshPrimitive
fn clone(&self) -> MeshPrimitive
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MeshPrimitive
impl Debug for MeshPrimitive
Source§impl<'de> Deserialize<'de> for MeshPrimitive
impl<'de> Deserialize<'de> for MeshPrimitive
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MeshPrimitive
impl RefUnwindSafe for MeshPrimitive
impl Send for MeshPrimitive
impl Sync for MeshPrimitive
impl Unpin for MeshPrimitive
impl UnsafeUnpin for MeshPrimitive
impl UnwindSafe for MeshPrimitive
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