Struct clock_zones::ConstantBound [−][src]
A bound for a generic Constant.
Trait Implementations
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_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]
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: Eq + Constant> Eq for ConstantBound<C>
[src]
impl<C: Hash + Constant> Hash for ConstantBound<C>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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> StructuralPartialEq for ConstantBound<C>
[src]
Auto Trait Implementations
impl<C> RefUnwindSafe for ConstantBound<C> where
C: RefUnwindSafe,
C: RefUnwindSafe,
impl<C> Send for ConstantBound<C> where
C: Send,
C: Send,
impl<C> Sync for ConstantBound<C> where
C: Sync,
C: Sync,
impl<C> Unpin for ConstantBound<C> where
C: Unpin,
C: Unpin,
impl<C> UnwindSafe for ConstantBound<C> where
C: UnwindSafe,
C: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,