pub struct Level<'a> {
pub version: u32,
pub revision: u32,
pub environment: Option<Environment<'a>>,
pub objects: Option<Vec<ObjectInfo<'a>>>,
pub particles: Option<Vec<Particle<'a>>>,
}
Fields§
§version: u32
§revision: u32
§environment: Option<Environment<'a>>
§objects: Option<Vec<ObjectInfo<'a>>>
§particles: Option<Vec<Particle<'a>>>
Trait Implementations§
source§impl<'de, 'a> Deserialize<'de> for Level<'a>
impl<'de, 'a> Deserialize<'de> for Level<'a>
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<'a> RefUnwindSafe for Level<'a>
impl<'a> Send for Level<'a>
impl<'a> Sync for Level<'a>
impl<'a> Unpin for Level<'a>
impl<'a> UnwindSafe for Level<'a>
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