Struct erg_parser::ast::KwArg
source · pub struct KwArg {
pub keyword: Token,
pub t_spec: Option<TypeSpecWithOp>,
pub expr: Expr,
}
Fields§
§keyword: Token
§t_spec: Option<TypeSpecWithOp>
§expr: Expr
Implementations§
Trait Implementations§
source§impl Locational for KwArg
impl Locational for KwArg
source§impl NestedDisplay for KwArg
impl NestedDisplay for KwArg
source§impl PartialEq for KwArg
impl PartialEq for KwArg
impl Eq for KwArg
impl StructuralPartialEq for KwArg
Auto Trait Implementations§
impl Freeze for KwArg
impl RefUnwindSafe for KwArg
impl Send for KwArg
impl Sync for KwArg
impl Unpin for KwArg
impl UnwindSafe for KwArg
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