#[repr(i32)]pub enum BindingPriority {
Animation = -1,
LocalValue = 0,
StyleTrigger = 1,
Template = 2,
Style = 3,
Inherited = 4,
Unset = 2_147_483_647,
}Expand description
The priority of a binding or of a value set on a property.
Lower values take precedence over higher ones.
Variants§
Animation = -1
A value that comes from an animation.
LocalValue = 0
A local value.
StyleTrigger = 1
A triggered style value: a style whose selector has conditions such as pseudo-classes or property matches.
Template = 2
A template binding or a value set by a template.
Style = 3
A style value.
Inherited = 4
The value is inherited from an ancestor element.
Unset = 2_147_483_647
The value is uninitialized.
Trait Implementations§
Source§impl Clone for BindingPriority
impl Clone for BindingPriority
impl Copy for BindingPriority
Source§impl Debug for BindingPriority
impl Debug for BindingPriority
Source§impl Default for BindingPriority
impl Default for BindingPriority
impl Eq for BindingPriority
Source§impl Hash for BindingPriority
impl Hash for BindingPriority
Source§impl MarkupTyped for BindingPriority
impl MarkupTyped for BindingPriority
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl Ord for BindingPriority
impl Ord for BindingPriority
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 BindingPriority
impl PartialEq for BindingPriority
Source§impl PartialOrd for BindingPriority
impl PartialOrd for BindingPriority
impl StructuralPartialEq for BindingPriority
Auto Trait Implementations§
impl Freeze for BindingPriority
impl RefUnwindSafe for BindingPriority
impl Send for BindingPriority
impl Sync for BindingPriority
impl Unpin for BindingPriority
impl UnsafeUnpin for BindingPriority
impl UnwindSafe for BindingPriority
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