Struct codeviz::js::FunctionSpec
[−]
[src]
pub struct FunctionSpec {
pub name: String,
pub arguments: Vec<Statement>,
pub elements: Elements,
}Fields
name: String
arguments: Vec<Statement>
elements: Elements
Methods
impl FunctionSpec[src]
fn new(name: &str) -> FunctionSpec
fn push_argument<S>(&mut self, argument: S) where
S: Into<Statement>,
S: Into<Statement>,
fn push<E>(&mut self, element: E) where
E: Into<ElementSpec>,
E: Into<ElementSpec>,
Trait Implementations
impl Debug for FunctionSpec[src]
impl Clone for FunctionSpec[src]
fn clone(&self) -> FunctionSpec
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 Imports for FunctionSpec[src]
fn imports<I>(&self, receiver: &mut I) where
I: ImportReceiver,
I: ImportReceiver,