Struct santa::levels::Level [−][src]
pub struct Level { pub title: String, pub description: String, pub map: MapName, pub music: String, pub start: NodeID, pub minimap_zoom: usize, pub time_limit: Duration, pub goal: usize, pub unlock_upzones: usize, pub unlock_vehicles: Vec<String>, }
Fields
title: String
description: String
map: MapName
music: String
start: NodeID
minimap_zoom: usize
time_limit: Duration
goal: usize
unlock_upzones: usize
unlock_vehicles: Vec<String>
Implementations
Trait Implementations
impl<'de> Deserialize<'de> for Level
[src]
impl<'de> Deserialize<'de> for Level
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructuralPartialEq for Level
[src]
Auto Trait Implementations
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnwindSafe for Level
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,