pub enum SelectorMatchResult {
NeverThisType,
NeverThisInstance,
Sometimes,
AlwaysThisInstance,
AlwaysThisType,
}Expand description
Describes how a SelectorMatch matches a control and its type.
Variants§
NeverThisType
The selector never matches this type.
NeverThisInstance
The selector never matches this instance, but can match this type.
Sometimes
The selector matches this instance based on the activator.
AlwaysThisInstance
The selector always matches this instance, but doesn’t always match this type.
AlwaysThisType
The selector always matches this type.
Trait Implementations§
Source§impl Clone for SelectorMatchResult
impl Clone for SelectorMatchResult
impl Copy for SelectorMatchResult
Source§impl Debug for SelectorMatchResult
impl Debug for SelectorMatchResult
impl Eq for SelectorMatchResult
Source§impl Hash for SelectorMatchResult
impl Hash for SelectorMatchResult
Source§impl Ord for SelectorMatchResult
impl Ord for SelectorMatchResult
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SelectorMatchResult
impl PartialEq for SelectorMatchResult
Source§impl PartialOrd for SelectorMatchResult
impl PartialOrd for SelectorMatchResult
impl StructuralPartialEq for SelectorMatchResult
Auto Trait Implementations§
impl Freeze for SelectorMatchResult
impl RefUnwindSafe for SelectorMatchResult
impl Send for SelectorMatchResult
impl Sync for SelectorMatchResult
impl Unpin for SelectorMatchResult
impl UnsafeUnpin for SelectorMatchResult
impl UnwindSafe for SelectorMatchResult
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more