pub struct CascadeKey {
pub level: CascadeLevel,
pub layer_rank: LayerRank,
pub scope_proximity: u32,
pub specificity: Specificity,
pub source_order: u32,
}Fields§
§level: CascadeLevel§layer_rank: LayerRank§scope_proximity: u32§specificity: Specificity§source_order: u32Implementations§
Source§impl CascadeKey
impl CascadeKey
pub const fn new( level: CascadeLevel, layer_rank: LayerRank, scope_proximity: u32, specificity: Specificity, source_order: u32, ) -> Self
Trait Implementations§
Source§impl Clone for CascadeKey
impl Clone for CascadeKey
Source§fn clone(&self) -> CascadeKey
fn clone(&self) -> CascadeKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CascadeKey
Source§impl Debug for CascadeKey
impl Debug for CascadeKey
impl Eq for CascadeKey
Source§impl Hash for CascadeKey
impl Hash for CascadeKey
Source§impl Ord for CascadeKey
impl Ord for CascadeKey
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
Source§impl PartialEq for CascadeKey
impl PartialEq for CascadeKey
Source§fn eq(&self, other: &CascadeKey) -> bool
fn eq(&self, other: &CascadeKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CascadeKey
impl PartialOrd for CascadeKey
Source§impl Serialize for CascadeKey
impl Serialize for CascadeKey
impl StructuralPartialEq for CascadeKey
Auto Trait Implementations§
impl Freeze for CascadeKey
impl RefUnwindSafe for CascadeKey
impl Send for CascadeKey
impl Sync for CascadeKey
impl Unpin for CascadeKey
impl UnsafeUnpin for CascadeKey
impl UnwindSafe for CascadeKey
Blanket Implementations§
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