Struct srt_protocol::options::Percent
source · pub struct Percent(pub u64);
Tuple Fields§
§0: u64
Methods from Deref<Target = u64>§
Trait Implementations§
source§impl Ord for Percent
impl Ord for Percent
source§impl PartialEq<Percent> for Percent
impl PartialEq<Percent> for Percent
source§impl PartialOrd<Percent> for Percent
impl PartialOrd<Percent> for Percent
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Percent
impl Eq for Percent
impl StructuralEq for Percent
impl StructuralPartialEq for Percent
Auto Trait Implementations§
impl RefUnwindSafe for Percent
impl Send for Percent
impl Sync for Percent
impl Unpin for Percent
impl UnwindSafe for Percent
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.