pub struct GeometryAsset {
pub geometry_id: String,
pub source: GeometrySource,
pub source_geometry: SourceGeometry,
pub tessellation_profile: TessellationProfile,
pub units: UnitSystem,
pub revision: u32,
pub meshes: Vec<MeshDescriptor>,
pub surface_meshes: Vec<SurfaceMesh>,
pub regions: Vec<Region>,
pub region_entity_mappings: Vec<RegionEntityMapping>,
pub diagnostics: Vec<Diagnostic>,
}Fields§
§geometry_id: String§source: GeometrySource§source_geometry: SourceGeometry§tessellation_profile: TessellationProfile§units: UnitSystem§revision: u32§meshes: Vec<MeshDescriptor>§surface_meshes: Vec<SurfaceMesh>§regions: Vec<Region>§region_entity_mappings: Vec<RegionEntityMapping>§diagnostics: Vec<Diagnostic>Implementations§
Trait Implementations§
Source§impl Clone for GeometryAsset
impl Clone for GeometryAsset
Source§fn clone(&self) -> GeometryAsset
fn clone(&self) -> GeometryAsset
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 GeometryAsset
impl Debug for GeometryAsset
Source§impl<'de> Deserialize<'de> for GeometryAsset
impl<'de> Deserialize<'de> for GeometryAsset
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 GeometryAsset
impl PartialEq for GeometryAsset
Source§fn eq(&self, other: &GeometryAsset) -> bool
fn eq(&self, other: &GeometryAsset) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GeometryAsset
impl Serialize for GeometryAsset
impl StructuralPartialEq for GeometryAsset
Auto Trait Implementations§
impl Freeze for GeometryAsset
impl RefUnwindSafe for GeometryAsset
impl Send for GeometryAsset
impl Sync for GeometryAsset
impl Unpin for GeometryAsset
impl UnsafeUnpin for GeometryAsset
impl UnwindSafe for GeometryAsset
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