Struct erg_parser::ast::ParamRecordAttrs
source · pub struct ParamRecordAttrs { /* private fields */ }
Implementations§
source§impl ParamRecordAttrs
impl ParamRecordAttrs
pub fn iter(&self) -> Iter<'_, ParamRecordAttr>
pub fn iter_mut(&mut self) -> IterMut<'_, ParamRecordAttr>
source§impl ParamRecordAttrs
impl ParamRecordAttrs
pub fn keys(&self) -> impl Iterator<Item = &Identifier>
Trait Implementations§
source§impl Clone for ParamRecordAttrs
impl Clone for ParamRecordAttrs
source§fn clone(&self) -> ParamRecordAttrs
fn clone(&self) -> ParamRecordAttrs
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 Debug for ParamRecordAttrs
impl Debug for ParamRecordAttrs
source§impl Display for ParamRecordAttrs
impl Display for ParamRecordAttrs
source§impl From<ParamRecordAttrs> for Vec<ParamRecordAttr>
impl From<ParamRecordAttrs> for Vec<ParamRecordAttr>
source§fn from(item: ParamRecordAttrs) -> Vec<ParamRecordAttr>
fn from(item: ParamRecordAttrs) -> Vec<ParamRecordAttr>
Converts to this type from the input type.
source§impl Hash for ParamRecordAttrs
impl Hash for ParamRecordAttrs
source§impl Index<usize> for ParamRecordAttrs
impl Index<usize> for ParamRecordAttrs
source§impl IndexMut<usize> for ParamRecordAttrs
impl IndexMut<usize> for ParamRecordAttrs
source§impl IntoIterator for ParamRecordAttrs
impl IntoIterator for ParamRecordAttrs
§type Item = ParamRecordAttr
type Item = ParamRecordAttr
The type of the elements being iterated over.
§type IntoIter = IntoIter<<ParamRecordAttrs as IntoIterator>::Item>
type IntoIter = IntoIter<<ParamRecordAttrs as IntoIterator>::Item>
Which kind of iterator are we turning this into?
source§impl NestedDisplay for ParamRecordAttrs
impl NestedDisplay for ParamRecordAttrs
source§impl PartialEq for ParamRecordAttrs
impl PartialEq for ParamRecordAttrs
source§fn eq(&self, other: &ParamRecordAttrs) -> bool
fn eq(&self, other: &ParamRecordAttrs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Stream<ParamRecordAttr> for ParamRecordAttrs
impl Stream<ParamRecordAttr> for ParamRecordAttrs
fn payload(self) -> Vec<ParamRecordAttr>
fn ref_payload(&self) -> &Vec<ParamRecordAttr>
fn ref_mut_payload(&mut self) -> &mut Vec<ParamRecordAttr>
fn clear(&mut self)
fn len(&self) -> usize
fn size(&self) -> usize
fn is_empty(&self) -> bool
fn insert(&mut self, idx: usize, elem: T)
fn remove(&mut self, idx: usize) -> T
fn push(&mut self, elem: T)
fn append<S>(&mut self, s: &mut S)where
S: Stream<T>,
fn pop(&mut self) -> Option<T>
fn lpop(&mut self) -> Option<T>
fn get(&self, idx: usize) -> Option<&T>
fn get_mut(&mut self, idx: usize) -> Option<&mut T>
fn first(&self) -> Option<&T>
fn first_mut(&mut self) -> Option<&mut T>
fn last(&self) -> Option<&T>
fn last_mut(&mut self) -> Option<&mut T>
fn iter(&self) -> Iter<'_, T>
fn iter_mut(&mut self) -> IterMut<'_, T>
fn take_all(&mut self) -> Vec<T>
fn extend<I>(&mut self, iter: I)where
I: IntoIterator<Item = T>,
fn split_off(&mut self, at: usize) -> Vec<T>
source§fn retain(&mut self, f: impl FnMut(&T) -> bool)
fn retain(&mut self, f: impl FnMut(&T) -> bool)
Remove all elements that don’t satisfy the predicate.
fn concat(self, other: Self) -> Self
impl Eq for ParamRecordAttrs
impl StructuralPartialEq for ParamRecordAttrs
Auto Trait Implementations§
impl Freeze for ParamRecordAttrs
impl RefUnwindSafe for ParamRecordAttrs
impl Send for ParamRecordAttrs
impl Sync for ParamRecordAttrs
impl Unpin for ParamRecordAttrs
impl UnwindSafe for ParamRecordAttrs
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