Struct mangle_ast::Constraints
source · pub struct Constraints<'a> {
pub consequences: &'a [&'a Atom<'a>],
pub alternatives: &'a [&'a [&'a Atom<'a>]],
}Fields§
§consequences: &'a [&'a Atom<'a>]§alternatives: &'a [&'a [&'a Atom<'a>]]Trait Implementations§
source§impl<'a> Clone for Constraints<'a>
impl<'a> Clone for Constraints<'a>
source§fn clone(&self) -> Constraints<'a>
fn clone(&self) -> Constraints<'a>
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<'a> Debug for Constraints<'a>
impl<'a> Debug for Constraints<'a>
source§impl<'a> PartialEq for Constraints<'a>
impl<'a> PartialEq for Constraints<'a>
source§fn eq(&self, other: &Constraints<'a>) -> bool
fn eq(&self, other: &Constraints<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> StructuralPartialEq for Constraints<'a>
Auto Trait Implementations§
impl<'a> Freeze for Constraints<'a>
impl<'a> RefUnwindSafe for Constraints<'a>
impl<'a> Send for Constraints<'a>
impl<'a> Sync for Constraints<'a>
impl<'a> Unpin for Constraints<'a>
impl<'a> UnwindSafe for Constraints<'a>
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