Struct rustpython_ast::Arg
source · pub struct Arg<R = TextRange> {
pub range: R,
pub arg: Identifier,
pub annotation: Option<Box<Expr<R>>>,
pub type_comment: Option<String>,
}
Expand description
See also arg
Fields§
§range: R
§arg: Identifier
§annotation: Option<Box<Expr<R>>>
§type_comment: Option<String>
Trait Implementations§
source§impl<R: PartialEq> PartialEq for Arg<R>
impl<R: PartialEq> PartialEq for Arg<R>
impl<R> StructuralPartialEq for Arg<R>
Auto Trait Implementations§
impl<R> Freeze for Arg<R>where
R: Freeze,
impl<R> RefUnwindSafe for Arg<R>where
R: RefUnwindSafe,
impl<R> Send for Arg<R>where
R: Send,
impl<R> Sync for Arg<R>where
R: Sync,
impl<R> Unpin for Arg<R>where
R: Unpin,
impl<R> UnwindSafe for Arg<R>where
R: UnwindSafe,
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