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
[src]
fn push_argument<S>(&mut self, argument: S) where
S: Into<Statement>,
[src]
S: Into<Statement>,
fn push<E>(&mut self, element: E) where
E: Into<Element>,
[src]
E: Into<Element>,
Trait Implementations
impl Debug for FunctionSpec
[src]
impl Clone for FunctionSpec
[src]
fn clone(&self) -> FunctionSpec
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Imports for FunctionSpec
[src]
fn imports<I>(&self, receiver: &mut I) where
I: ImportReceiver,
[src]
I: ImportReceiver,