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 single star

* alone, with no name

*argsor*args:type`

Trait Implementations

impl<T: Clone> Clone for StarParams<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for StarParams<T>
[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq> PartialEq for StarParams<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Eq> Eq for StarParams<T>
[src]

impl<T: Hash> Hash for StarParams<T>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<T> Default for StarParams<T>
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<T> Send for StarParams<T> where
    T: Send

impl<T> Sync for StarParams<T> where
    T: Sync