Enum python_parser::ast::StarParams [−][src]
pub enum StarParams<T> { No, Anonymous, Named(T), }
Represents whether a function signature has *
, *args
, or none of these.
Variants
No
No single star
Anonymous
*
alone, with no name
Named(T)
*argsor
*args:type`
Trait Implementations
impl<T: Clone> Clone for StarParams<T>
[src]
impl<T: Clone> Clone for StarParams<T>
fn clone(&self) -> StarParams<T>
[src]
fn clone(&self) -> StarParams<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for StarParams<T>
[src]
impl<T: Debug> Debug for StarParams<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: PartialEq> PartialEq for StarParams<T>
[src]
impl<T: PartialEq> PartialEq for StarParams<T>
fn eq(&self, other: &StarParams<T>) -> bool
[src]
fn eq(&self, other: &StarParams<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &StarParams<T>) -> bool
[src]
fn ne(&self, other: &StarParams<T>) -> bool
This method tests for !=
.
impl<T: Eq> Eq for StarParams<T>
[src]
impl<T: Eq> Eq for StarParams<T>
impl<T: Hash> Hash for StarParams<T>
[src]
impl<T: Hash> Hash for StarParams<T>
fn hash<__HT: Hasher>(&self, state: &mut __HT)
[src]
fn hash<__HT: Hasher>(&self, state: &mut __HT)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl<T> Default for StarParams<T>
[src]
impl<T> Default for StarParams<T>
fn default() -> StarParams<T>
[src]
fn default() -> StarParams<T>
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl<T> Send for StarParams<T> where
T: Send,
impl<T> Send for StarParams<T> where
T: Send,
impl<T> Sync for StarParams<T> where
T: Sync,
impl<T> Sync for StarParams<T> where
T: Sync,