Struct game::info::DataOptions [−][src]
pub struct DataOptions { pub show_before: bool, pub show_end_of_day: bool, disabled_types: BTreeSet<AgentType>, }
Fields
show_before: bool
show_end_of_day: bool
disabled_types: BTreeSet<AgentType>
Implementations
impl DataOptions
[src]
impl DataOptions
[src]pub fn new() -> DataOptions
[src]
pub fn to_controls(&self, ctx: &mut EventCtx<'_>, app: &App) -> Widget
[src]
pub fn from_controls(c: &Panel) -> DataOptions
[src]
pub fn disabled_series(&self) -> HashSet<String>
[src]
Trait Implementations
impl Clone for DataOptions
[src]
impl Clone for DataOptions
[src]fn clone(&self) -> DataOptions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<DataOptions> for DataOptions
[src]
impl PartialEq<DataOptions> for DataOptions
[src]fn eq(&self, other: &DataOptions) -> bool
[src]
fn ne(&self, other: &DataOptions) -> bool
[src]
impl StructuralPartialEq for DataOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for DataOptions
impl Send for DataOptions
impl Sync for DataOptions
impl Unpin for DataOptions
impl UnwindSafe for DataOptions
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>,