Struct moore_svlog_syntax::ast::ConstraintItem
source · [−]pub struct ConstraintItem<'a> {
pub span: Span,
pub data: ConstraintItemData<'a>,
}
Fields
span: Span
data: ConstraintItemData<'a>
Trait Implementations
sourceimpl<'a> AcceptVisitor<'a> for ConstraintItem<'a>
impl<'a> AcceptVisitor<'a> for ConstraintItem<'a>
sourceimpl<'a> Clone for ConstraintItem<'a>
impl<'a> Clone for ConstraintItem<'a>
sourcefn clone(&self) -> ConstraintItem<'a>
fn clone(&self) -> ConstraintItem<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for ConstraintItem<'a>
impl<'a> Debug for ConstraintItem<'a>
sourceimpl<'a> ForEachChild<'a> for ConstraintItem<'a>
impl<'a> ForEachChild<'a> for ConstraintItem<'a>
sourcefn for_each_child(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
fn for_each_child(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
Apply a function to each child node.
sourceimpl<'a> ForEachNode<'a> for ConstraintItem<'a>
impl<'a> ForEachNode<'a> for ConstraintItem<'a>
sourcefn for_each_node(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
fn for_each_node(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
Apply a function to this node.
sourceimpl<'a> PartialEq<ConstraintItem<'a>> for ConstraintItem<'a>
impl<'a> PartialEq<ConstraintItem<'a>> for ConstraintItem<'a>
sourcefn eq(&self, other: &ConstraintItem<'a>) -> bool
fn eq(&self, other: &ConstraintItem<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ConstraintItem<'a>) -> bool
fn ne(&self, other: &ConstraintItem<'a>) -> bool
This method tests for !=
.
sourceimpl<'a> WalkVisitor<'a> for ConstraintItem<'a>
impl<'a> WalkVisitor<'a> for ConstraintItem<'a>
impl<'a> Eq for ConstraintItem<'a>
impl<'a> StructuralEq for ConstraintItem<'a>
impl<'a> StructuralPartialEq for ConstraintItem<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ConstraintItem<'a>
impl<'a> Send for ConstraintItem<'a>
impl<'a> Sync for ConstraintItem<'a>
impl<'a> Unpin for ConstraintItem<'a>
impl<'a> !UnwindSafe for ConstraintItem<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more