pub struct PrefabFile {Show 13 fields
pub format: Option<u32>,
pub include: Vec<String>,
pub materials: Vec<String>,
pub mesh: BTreeMap<String, Mesh>,
pub object: Vec<Object>,
pub light: Vec<Light>,
pub emitter: Vec<Emitter>,
pub mover: Vec<Mover>,
pub content: BTreeMap<String, Content>,
pub text: BTreeMap<String, Text>,
pub sound: BTreeMap<String, Sound>,
pub rig: Vec<Rig>,
pub authoring: Option<Table>,
}Fields§
§format: Option<u32>§include: Vec<String>§materials: Vec<String>§mesh: BTreeMap<String, Mesh>§object: Vec<Object>§light: Vec<Light>§emitter: Vec<Emitter>§mover: Vec<Mover>§content: BTreeMap<String, Content>§text: BTreeMap<String, Text>§sound: BTreeMap<String, Sound>§rig: Vec<Rig>Trait Implementations§
Source§impl Clone for PrefabFile
impl Clone for PrefabFile
Source§fn clone(&self) -> PrefabFile
fn clone(&self) -> PrefabFile
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 PrefabFile
impl Debug for PrefabFile
Source§impl Default for PrefabFile
impl Default for PrefabFile
Source§fn default() -> PrefabFile
fn default() -> PrefabFile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrefabFile
impl<'de> Deserialize<'de> for PrefabFile
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 PrefabFile
impl PartialEq for PrefabFile
Source§fn eq(&self, other: &PrefabFile) -> bool
fn eq(&self, other: &PrefabFile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PrefabFile
impl Serialize for PrefabFile
impl StructuralPartialEq for PrefabFile
Auto Trait Implementations§
impl Freeze for PrefabFile
impl RefUnwindSafe for PrefabFile
impl Send for PrefabFile
impl Sync for PrefabFile
impl Unpin for PrefabFile
impl UnsafeUnpin for PrefabFile
impl UnwindSafe for PrefabFile
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