Enum ast_demangle::rust_v0::ConstFields
source · [−]pub enum ConstFields<'a> {
Unit,
Tuple(Vec<Rc<Const<'a>>>),
Struct(Vec<(Identifier<'a>, Rc<Const<'a>>)>),
}Variants
Unit
Tuple(Vec<Rc<Const<'a>>>)
Struct(Vec<(Identifier<'a>, Rc<Const<'a>>)>)
Trait Implementations
sourceimpl<'a> Clone for ConstFields<'a>
impl<'a> Clone for ConstFields<'a>
sourcefn clone(&self) -> ConstFields<'a>
fn clone(&self) -> ConstFields<'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 ConstFields<'a>
impl<'a> Debug for ConstFields<'a>
sourceimpl<'a> Hash for ConstFields<'a>
impl<'a> Hash for ConstFields<'a>
sourceimpl<'a> Ord for ConstFields<'a>
impl<'a> Ord for ConstFields<'a>
sourceimpl<'a> PartialEq<ConstFields<'a>> for ConstFields<'a>
impl<'a> PartialEq<ConstFields<'a>> for ConstFields<'a>
sourcefn eq(&self, other: &ConstFields<'a>) -> bool
fn eq(&self, other: &ConstFields<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ConstFields<'a>) -> bool
fn ne(&self, other: &ConstFields<'a>) -> bool
This method tests for !=.
sourceimpl<'a> PartialOrd<ConstFields<'a>> for ConstFields<'a>
impl<'a> PartialOrd<ConstFields<'a>> for ConstFields<'a>
sourcefn partial_cmp(&self, other: &ConstFields<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &ConstFields<'a>) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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 more
impl<'a> Eq for ConstFields<'a>
impl<'a> StructuralEq for ConstFields<'a>
impl<'a> StructuralPartialEq for ConstFields<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ConstFields<'a>
impl<'a> !Send for ConstFields<'a>
impl<'a> !Sync for ConstFields<'a>
impl<'a> Unpin for ConstFields<'a>
impl<'a> UnwindSafe for ConstFields<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more