Enum simplicity::types::CompleteBound
source · pub enum CompleteBound {
Unit,
Sum(Arc<Final>, Arc<Final>),
Product(Arc<Final>, Arc<Final>),
}Expand description
A finalized type bound, whose tree is accessible without any mutex locking
Variants§
Unit
The unit type
Sum(Arc<Final>, Arc<Final>)
A sum of two other types
Product(Arc<Final>, Arc<Final>)
A product of two other types
Trait Implementations§
source§impl Clone for CompleteBound
impl Clone for CompleteBound
source§fn clone(&self) -> CompleteBound
fn clone(&self) -> CompleteBound
Returns a copy of the value. Read more
1.0.0 · 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 CompleteBound
impl Debug for CompleteBound
source§impl Hash for CompleteBound
impl Hash for CompleteBound
source§impl Ord for CompleteBound
impl Ord for CompleteBound
source§fn cmp(&self, other: &CompleteBound) -> Ordering
fn cmp(&self, other: &CompleteBound) -> Ordering
1.21.0 · 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 CompleteBound
impl PartialEq for CompleteBound
source§fn eq(&self, other: &CompleteBound) -> bool
fn eq(&self, other: &CompleteBound) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for CompleteBound
impl PartialOrd for CompleteBound
source§fn partial_cmp(&self, other: &CompleteBound) -> Option<Ordering>
fn partial_cmp(&self, other: &CompleteBound) -> Option<Ordering>
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 Eq for CompleteBound
impl StructuralPartialEq for CompleteBound
Auto Trait Implementations§
impl RefUnwindSafe for CompleteBound
impl Send for CompleteBound
impl Sync for CompleteBound
impl Unpin for CompleteBound
impl UnwindSafe for CompleteBound
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