Struct erg_parser::ast::MixedRecord
source · pub struct MixedRecord {
pub l_brace: Token,
pub r_brace: Token,
pub attrs: Vec<RecordAttrOrIdent>,
}
Expand description
Record can be defined with shorthend/normal mixed style, i.e. {x; y=expr; z; …}
Fields§
§l_brace: Token
§r_brace: Token
§attrs: Vec<RecordAttrOrIdent>
Implementations§
source§impl MixedRecord
impl MixedRecord
Trait Implementations§
source§impl Clone for MixedRecord
impl Clone for MixedRecord
source§fn clone(&self) -> MixedRecord
fn clone(&self) -> MixedRecord
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 more