pub enum BoundDirection {
Lower,
Upper,
Unknown,
}Expand description
Which side of the open quantity the bound constrains.
Variants§
Lower
A lower bound (e.g. a construction: “best known >= 7”).
Upper
An upper bound (e.g. an impossibility: “<= 12”).
Unknown
The prose did not yield a direction; source_text is authoritative.
Implementations§
Trait Implementations§
Source§impl Clone for BoundDirection
impl Clone for BoundDirection
Source§fn clone(&self) -> BoundDirection
fn clone(&self) -> BoundDirection
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 moreimpl Copy for BoundDirection
Source§impl Debug for BoundDirection
impl Debug for BoundDirection
Source§impl Default for BoundDirection
impl Default for BoundDirection
Source§fn default() -> BoundDirection
fn default() -> BoundDirection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BoundDirection
impl<'de> Deserialize<'de> for BoundDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BoundDirection
Source§impl PartialEq for BoundDirection
impl PartialEq for BoundDirection
Source§impl Serialize for BoundDirection
impl Serialize for BoundDirection
impl StructuralPartialEq for BoundDirection
Auto Trait Implementations§
impl Freeze for BoundDirection
impl RefUnwindSafe for BoundDirection
impl Send for BoundDirection
impl Sync for BoundDirection
impl Unpin for BoundDirection
impl UnsafeUnpin for BoundDirection
impl UnwindSafe for BoundDirection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.