Struct rustpython_ast::KeywordData
source · Fields§
§arg: Option<String>
§value: Expr<U>
Trait Implementations§
source§impl<U: Clone> Clone for KeywordData<U>
impl<U: Clone> Clone for KeywordData<U>
source§fn clone(&self) -> KeywordData<U>
fn clone(&self) -> KeywordData<U>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<U: Debug> Debug for KeywordData<U>
impl<U: Debug> Debug for KeywordData<U>
source§impl<U: PartialEq> PartialEq<KeywordData<U>> for KeywordData<U>
impl<U: PartialEq> PartialEq<KeywordData<U>> for KeywordData<U>
source§fn eq(&self, other: &KeywordData<U>) -> bool
fn eq(&self, other: &KeywordData<U>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.