Struct erg_parser::ast::ShortenedRecord
source · [−]pub struct ShortenedRecord {
pub l_brace: Token,
pub r_brace: Token,
pub idents: Vec<Identifier>,
}
Expand description
e.g. {x; y; z} (syntax sugar of {x = x; y = y; z = z})
Fields
l_brace: Token
r_brace: Token
idents: Vec<Identifier>
Implementations
Trait Implementations
sourceimpl Clone for ShortenedRecord
impl Clone for ShortenedRecord
sourcefn clone(&self) -> ShortenedRecord
fn clone(&self) -> ShortenedRecord
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 ShortenedRecord
impl Debug for ShortenedRecord
sourceimpl Display for ShortenedRecord
impl Display for ShortenedRecord
sourceimpl Hash for ShortenedRecord
impl Hash for ShortenedRecord
sourceimpl Locational for ShortenedRecord
impl Locational for ShortenedRecord
sourceimpl NestedDisplay for ShortenedRecord
impl NestedDisplay for ShortenedRecord
sourceimpl PartialEq<ShortenedRecord> for ShortenedRecord
impl PartialEq<ShortenedRecord> for ShortenedRecord
sourcefn eq(&self, other: &ShortenedRecord) -> bool
fn eq(&self, other: &ShortenedRecord) -> bool
impl Eq for ShortenedRecord
impl StructuralEq for ShortenedRecord
impl StructuralPartialEq for ShortenedRecord
Auto Trait Implementations
impl RefUnwindSafe for ShortenedRecord
impl !Send for ShortenedRecord
impl !Sync for ShortenedRecord
impl Unpin for ShortenedRecord
impl UnwindSafe for ShortenedRecord
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