Struct erg_parser::ast::VarRecordAttr
source · [−]pub struct VarRecordAttr {
pub lhs: Identifier,
pub rhs: VarSignature,
}
Fields
lhs: Identifier
rhs: VarSignature
Implementations
sourceimpl VarRecordAttr
impl VarRecordAttr
pub const fn new(lhs: Identifier, rhs: VarSignature) -> Self
Trait Implementations
sourceimpl Clone for VarRecordAttr
impl Clone for VarRecordAttr
sourcefn clone(&self) -> VarRecordAttr
fn clone(&self) -> VarRecordAttr
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 moresourceimpl Debug for VarRecordAttr
impl Debug for VarRecordAttr
sourceimpl Display for VarRecordAttr
impl Display for VarRecordAttr
sourceimpl Hash for VarRecordAttr
impl Hash for VarRecordAttr
sourceimpl Locational for VarRecordAttr
impl Locational for VarRecordAttr
sourceimpl NestedDisplay for VarRecordAttr
impl NestedDisplay for VarRecordAttr
sourceimpl PartialEq<VarRecordAttr> for VarRecordAttr
impl PartialEq<VarRecordAttr> for VarRecordAttr
sourcefn eq(&self, other: &VarRecordAttr) -> bool
fn eq(&self, other: &VarRecordAttr) -> bool
sourceimpl Stream<VarRecordAttr> for VarRecordAttrs
impl Stream<VarRecordAttr> for VarRecordAttrs
fn payload(self) -> Vec<VarRecordAttr>
fn ref_payload(&self) -> &Vec<VarRecordAttr>
fn ref_mut_payload(&mut self) -> &mut Vec<VarRecordAttr>
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 into_iter(self) -> IntoIter<T, Global>
fn take_all(&mut self) -> Vec<T, Global>
fn extend<I>(&mut self, iter: I)where
I: IntoIterator<Item = T>,
impl Eq for VarRecordAttr
impl StructuralEq for VarRecordAttr
impl StructuralPartialEq for VarRecordAttr
Auto Trait Implementations
impl RefUnwindSafe for VarRecordAttr
impl !Send for VarRecordAttr
impl !Sync for VarRecordAttr
impl Unpin for VarRecordAttr
impl UnwindSafe for VarRecordAttr
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