pub struct GeometryCommon {
pub semantics: Option<Semantics>,
pub material: Option<HashMap<String, MaterialReference>>,
pub texture: Option<HashMap<String, TextureReference>>,
}Expand description
The members every geometry may carry that are neither its type, its lod, nor its boundaries. The appearance values are depth-typed, keyed by theme.
Fields§
§semantics: Option<Semantics>§material: Option<HashMap<String, MaterialReference>>§texture: Option<HashMap<String, TextureReference>>Trait Implementations§
Source§impl Clone for GeometryCommon
impl Clone for GeometryCommon
Source§fn clone(&self) -> GeometryCommon
fn clone(&self) -> GeometryCommon
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 GeometryCommon
impl Debug for GeometryCommon
Source§impl Default for GeometryCommon
impl Default for GeometryCommon
Source§fn default() -> GeometryCommon
fn default() -> GeometryCommon
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GeometryCommon
impl<'de> Deserialize<'de> for GeometryCommon
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
Source§impl PartialEq for GeometryCommon
impl PartialEq for GeometryCommon
Source§impl Serialize for GeometryCommon
impl Serialize for GeometryCommon
impl StructuralPartialEq for GeometryCommon
Auto Trait Implementations§
impl Freeze for GeometryCommon
impl RefUnwindSafe for GeometryCommon
impl Send for GeometryCommon
impl Sync for GeometryCommon
impl Unpin for GeometryCommon
impl UnsafeUnpin for GeometryCommon
impl UnwindSafe for GeometryCommon
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