Struct clock_zones::ConstantBound [−][src]
pub struct ConstantBound<C: Constant> { /* fields omitted */ }
A bound for a generic Constant.
Trait Implementations
impl<C: Constant> Bound for ConstantBound<C>
[src]
impl<C: Constant> Bound for ConstantBound<C>
[src]type Constant = C
The type of the bounding constant.
fn max_constant() -> Option<Self::Constant>
[src]
fn min_constant() -> Option<Self::Constant>
[src]
fn unbounded() -> Self
[src]
fn le_zero() -> Self
[src]
fn lt_zero() -> Self
[src]
fn new(is_strict: bool, constant: Self::Constant) -> Self
[src]
fn new_le(constant: Self::Constant) -> Self
[src]
fn new_lt(constant: Self::Constant) -> Self
[src]
fn is_strict(&self) -> bool
[src]
fn is_unbounded(&self) -> bool
[src]
fn constant(&self) -> Option<Self::Constant>
[src]
fn add(&self, other: &Self) -> Option<Self>
[src]
fn is_tighter_than(&self, other: &Self) -> bool
[src]
impl<C: Clone + Constant> Clone for ConstantBound<C>
[src]
impl<C: Clone + Constant> Clone for ConstantBound<C>
[src]fn clone(&self) -> ConstantBound<C>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<C: Debug + Constant> Debug for ConstantBound<C>
[src]
impl<C: Debug + Constant> Debug for ConstantBound<C>
[src]impl<C: Eq + Constant> Eq for ConstantBound<C>
[src]
impl<C: Eq + Constant> Eq for ConstantBound<C>
[src]impl<C: Hash + Constant> Hash for ConstantBound<C>
[src]
impl<C: Hash + Constant> Hash for ConstantBound<C>
[src]impl<C: PartialEq + Constant> PartialEq<ConstantBound<C>> for ConstantBound<C>
[src]
impl<C: PartialEq + Constant> PartialEq<ConstantBound<C>> for ConstantBound<C>
[src]fn eq(&self, other: &ConstantBound<C>) -> bool
[src]
fn ne(&self, other: &ConstantBound<C>) -> bool
[src]
impl<C: Constant> StructuralEq for ConstantBound<C>
[src]
impl<C: Constant> StructuralEq for ConstantBound<C>
[src]impl<C: Constant> StructuralPartialEq for ConstantBound<C>
[src]
impl<C: Constant> StructuralPartialEq for ConstantBound<C>
[src]Auto Trait Implementations
impl<C> RefUnwindSafe for ConstantBound<C> where
C: RefUnwindSafe,
impl<C> RefUnwindSafe for ConstantBound<C> where
C: RefUnwindSafe,
impl<C> Send for ConstantBound<C> where
C: Send,
impl<C> Send for ConstantBound<C> where
C: Send,
impl<C> Sync for ConstantBound<C> where
C: Sync,
impl<C> Sync for ConstantBound<C> where
C: Sync,
impl<C> Unpin for ConstantBound<C> where
C: Unpin,
impl<C> Unpin for ConstantBound<C> where
C: Unpin,
impl<C> UnwindSafe for ConstantBound<C> where
C: UnwindSafe,
impl<C> UnwindSafe for ConstantBound<C> where
C: UnwindSafe,