Struct erg_parser::ast::Array
source · [−]pub struct Array {
pub l_sqbr: Token,
pub r_sqbr: Token,
pub elems: Args,
pub guard: Option<Box<Expr>>,
}
Expand description
DictはキーつきArray(型としては別物)
Fields
l_sqbr: Token
r_sqbr: Token
elems: Args
guard: Option<Box<Expr>>
Implementations
Trait Implementations
sourceimpl Locational for Array
impl Locational for Array
sourceimpl NestedDisplay for Array
impl NestedDisplay for Array
impl Eq for Array
impl StructuralEq for Array
impl StructuralPartialEq for Array
Auto Trait Implementations
impl !RefUnwindSafe for Array
impl !Send for Array
impl !Sync for Array
impl Unpin for Array
impl !UnwindSafe for Array
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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