pub struct Specificity(pub u32, pub u32, pub u32);Expand description
Specificity: (id_count, class_count, tag_count)
Tuple Fields§
§0: u32§1: u32§2: u32Trait Implementations§
Source§impl Clone for Specificity
impl Clone for Specificity
Source§fn clone(&self) -> Specificity
fn clone(&self) -> Specificity
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Specificity
impl Debug for Specificity
Source§impl Default for Specificity
impl Default for Specificity
Source§fn default() -> Specificity
fn default() -> Specificity
Returns the “default value” for a type. Read more
Source§impl Ord for Specificity
impl Ord for Specificity
Source§impl PartialEq for Specificity
impl PartialEq for Specificity
Source§impl PartialOrd for Specificity
impl PartialOrd for Specificity
Source§fn partial_cmp(&self, other: &Specificity) -> Option<Ordering>
fn partial_cmp(&self, other: &Specificity) -> Option<Ordering>
impl Copy for Specificity
impl Eq for Specificity
impl StructuralPartialEq for Specificity
Auto Trait Implementations§
impl Freeze for Specificity
impl RefUnwindSafe for Specificity
impl Send for Specificity
impl Sync for Specificity
impl Unpin for Specificity
impl UnwindSafe for Specificity
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)