pub struct Specificity(pub [u8; 3]);Tuple Fields§
§0: [u8; 3]Trait Implementations§
Source§impl Add for Specificity
impl Add for Specificity
Source§type Output = Specificity
type Output = Specificity
The resulting type after applying the
+ operator.Source§fn add(self, rhs: Specificity) -> <Specificity as Add>::Output
fn add(self, rhs: Specificity) -> <Specificity as Add>::Output
Performs the
+ operation. Read moreSource§impl AddAssign for Specificity
impl AddAssign for Specificity
Source§fn add_assign(&mut self, rhs: Specificity)
fn add_assign(&mut self, rhs: Specificity)
Performs the
+= operation. Read moreSource§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 (const: unstable) · Source§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 Ord for Specificity
impl Ord for Specificity
Source§fn cmp(&self, other: &Specificity) -> Ordering
fn cmp(&self, other: &Specificity) -> Ordering
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 Specificity
impl PartialEq for Specificity
Source§fn eq(&self, other: &Specificity) -> bool
fn eq(&self, other: &Specificity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Specificity
impl PartialOrd for Specificity
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 UnsafeUnpin for Specificity
impl UnwindSafe for Specificity
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