pub enum Constraints<'tree> {
Constraint(Box<Constraint<'tree>>),
Context(Box<Context<'tree>>),
Forall(Box<Forall<'tree>>),
ImplicitParameter(Box<ImplicitParameter<'tree>>),
Signature(Box<Signature<'tree>>),
}Variants§
Constraint(Box<Constraint<'tree>>)
Context(Box<Context<'tree>>)
Forall(Box<Forall<'tree>>)
ImplicitParameter(Box<ImplicitParameter<'tree>>)
Signature(Box<Signature<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for Constraints<'tree>
impl<'tree> Clone for Constraints<'tree>
Source§fn clone(&self) -> Constraints<'tree>
fn clone(&self) -> Constraints<'tree>
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 moreSource§impl<'tree> Debug for Constraints<'tree>
impl<'tree> Debug for Constraints<'tree>
impl<'tree> Eq for Constraints<'tree>
Source§impl<'tree> FromNode<'tree> for Constraints<'tree>
impl<'tree> FromNode<'tree> for Constraints<'tree>
Source§impl<'tree> PartialEq for Constraints<'tree>
impl<'tree> PartialEq for Constraints<'tree>
Source§impl Spanned for Constraints<'_>
impl Spanned for Constraints<'_>
impl<'tree> StructuralPartialEq for Constraints<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for Constraints<'tree>
impl<'tree> RefUnwindSafe for Constraints<'tree>
impl<'tree> Send for Constraints<'tree>
impl<'tree> Sync for Constraints<'tree>
impl<'tree> Unpin for Constraints<'tree>
impl<'tree> UnsafeUnpin for Constraints<'tree>
impl<'tree> UnwindSafe for Constraints<'tree>
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