pub struct MeshConfig {
pub version: Option<u32>,
pub gpu: GpuConfig,
pub mesh_requirements: MeshRequirementsConfig,
pub owner_control: OwnerControlConfig,
pub telemetry: TelemetryConfig,
pub defaults: Option<ModelConfigDefaults>,
pub runtime: RuntimeConfig,
pub models: Vec<ModelConfigEntry>,
pub plugins: Vec<PluginConfigEntry>,
pub extra: BTreeMap<String, Value>,
}Fields§
§version: Option<u32>§gpu: GpuConfig§mesh_requirements: MeshRequirementsConfig§owner_control: OwnerControlConfig§telemetry: TelemetryConfig§defaults: Option<ModelConfigDefaults>§runtime: RuntimeConfig§models: Vec<ModelConfigEntry>§plugins: Vec<PluginConfigEntry>§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for MeshConfig
impl Clone for MeshConfig
Source§fn clone(&self) -> MeshConfig
fn clone(&self) -> MeshConfig
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 MeshConfig
impl Debug for MeshConfig
Source§impl Default for MeshConfig
impl Default for MeshConfig
Source§fn default() -> MeshConfig
fn default() -> MeshConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MeshConfig
impl<'de> Deserialize<'de> for MeshConfig
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 From<MeshConfig> for ConfigEditor
impl From<MeshConfig> for ConfigEditor
Source§fn from(config: MeshConfig) -> Self
fn from(config: MeshConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MeshConfig
impl RefUnwindSafe for MeshConfig
impl Send for MeshConfig
impl Sync for MeshConfig
impl Unpin for MeshConfig
impl UnsafeUnpin for MeshConfig
impl UnwindSafe for MeshConfig
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