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
sourceimpl Locational for KwArg
impl Locational for KwArg
sourceimpl NestedDisplay for KwArg
impl NestedDisplay for KwArg
impl Eq for KwArg
impl StructuralEq for KwArg
impl StructuralPartialEq for KwArg
Auto Trait Implementations
impl RefUnwindSafe for KwArg
impl !Send for KwArg
impl !Sync for KwArg
impl Unpin for KwArg
impl UnwindSafe for KwArg
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