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 duplicate 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§impl PartialOrd for CompleteBound
impl PartialOrd for CompleteBound
impl Eq for CompleteBound
impl StructuralPartialEq for CompleteBound
Auto Trait Implementations§
impl Freeze for CompleteBound
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