Struct erg_parser::ast::DataPack
source · pub struct DataPack {
pub class: Box<Expr>,
pub connector: VisModifierSpec,
pub args: Record,
}
Expand description
e.g. Data::{x = 1; y = 2}
Fields§
§class: Box<Expr>
§connector: VisModifierSpec
§args: Record
Implementations§
Trait Implementations§
source§impl Locational for DataPack
impl Locational for DataPack
source§impl NestedDisplay for DataPack
impl NestedDisplay for DataPack
source§impl PartialEq for DataPack
impl PartialEq for DataPack
impl Eq for DataPack
impl StructuralPartialEq for DataPack
Auto Trait Implementations§
impl Freeze for DataPack
impl RefUnwindSafe for DataPack
impl Send for DataPack
impl Sync for DataPack
impl Unpin for DataPack
impl UnwindSafe for DataPack
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