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