Struct codeviz_python::DecoratorSpec
[−]
[src]
pub struct DecoratorSpec {
pub name: Name,
pub arguments: Vec<Statement>,
}Fields
name: Name
arguments: Vec<Statement>
Methods
impl DecoratorSpec[src]
fn new<N>(name: N) -> DecoratorSpec where
N: Into<Name>,
N: Into<Name>,
fn push_argument<S>(&mut self, statement: S) where
S: Into<Statement>,
S: Into<Statement>,
Trait Implementations
impl Debug for DecoratorSpec[src]
impl Clone for DecoratorSpec[src]
fn clone(&self) -> DecoratorSpec
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'a, T> From<&'a T> for DecoratorSpec where
T: Into<DecoratorSpec> + Clone, [src]
T: Into<DecoratorSpec> + Clone,
fn from(value: &'a T) -> DecoratorSpec
Performs the conversion.
impl From<BuiltInName> for DecoratorSpec[src]
fn from(value: BuiltInName) -> DecoratorSpec
Performs the conversion.
impl From<ImportedName> for DecoratorSpec[src]
fn from(value: ImportedName) -> DecoratorSpec
Performs the conversion.