pub type Options = ProblemTypes;
Aliased Type§
struct Options {
disabled_types: HashSet<ProblemType>,
}
Fields§
§disabled_types: HashSet<ProblemType>
Implementations
Source§impl ProblemTypes
impl ProblemTypes
pub fn new() -> Self
pub fn show(&self, problem: &Problem) -> bool
pub fn to_controls(&self, ctx: &mut EventCtx<'_>) -> Widget
pub fn from_controls(panel: &Panel) -> Self
Trait Implementations
Source§impl Clone for ProblemTypes
impl Clone for ProblemTypes
Source§fn clone(&self) -> ProblemTypes
fn clone(&self) -> ProblemTypes
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more