Struct dot_parser::ast::AList
source · [−]Expand description
A list of attributes. This corresponds to the a_list
non-terminal of the
grammar.
Fields
elems: Vec<A>
The attributes in the list.
Trait Implementations
sourceimpl<'a, A> FromIterator<A> for AList<'a, A>
impl<'a, A> FromIterator<A> for AList<'a, A>
sourcefn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = A>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = A>,
Creates a value from an iterator. Read more
sourceimpl<'a, A> FromIterator<AList<'a, A>> for AttrList<'a, A>
impl<'a, A> FromIterator<AList<'a, A>> for AttrList<'a, A>
sourcefn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = AList<'a, A>>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = AList<'a, A>>,
Creates a value from an iterator. Read more
sourceimpl<'a, 'b, A> IntoIterator for &'b AList<'a, A>
impl<'a, 'b, A> IntoIterator for &'b AList<'a, A>
sourceimpl<'a, A> IntoIterator for AList<'a, A>
impl<'a, A> IntoIterator for AList<'a, A>
sourceimpl<'a, A: Ord> Ord for AList<'a, A>
impl<'a, A: Ord> Ord for AList<'a, A>
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<'a, A: PartialEq> PartialEq<AList<'a, A>> for AList<'a, A>
impl<'a, A: PartialEq> PartialEq<AList<'a, A>> for AList<'a, A>
sourceimpl<'a, A: PartialOrd> PartialOrd<AList<'a, A>> for AList<'a, A>
impl<'a, A: PartialOrd> PartialOrd<AList<'a, A>> for AList<'a, A>
sourcefn partial_cmp(&self, other: &AList<'a, A>) -> Option<Ordering>
fn partial_cmp(&self, other: &AList<'a, 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, A: Eq> Eq for AList<'a, A>
impl<'a, A> StructuralEq for AList<'a, A>
impl<'a, A> StructuralPartialEq for AList<'a, A>
Auto Trait Implementations
impl<'a, A> RefUnwindSafe for AList<'a, A>where
A: RefUnwindSafe,
impl<'a, A> Send for AList<'a, A>where
A: Send,
impl<'a, A> Sync for AList<'a, A>where
A: Sync,
impl<'a, A> Unpin for AList<'a, A>where
A: Unpin,
impl<'a, A> UnwindSafe for AList<'a, A>where
A: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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