Struct codeviz_java::ConstructorSpec
[−]
[src]
pub struct ConstructorSpec { pub modifiers: Modifiers, pub annotations: Vec<AnnotationSpec>, pub arguments: Vec<ArgumentSpec>, pub throws: Vec<ClassType>, pub elements: Elements, }
Fields
modifiers: Modifiers
annotations: Vec<AnnotationSpec>
arguments: Vec<ArgumentSpec>
throws: Vec<ClassType>
elements: Elements
Methods
impl ConstructorSpec
[src]
fn new(modifiers: Modifiers) -> ConstructorSpec
fn push_annotation<A>(&mut self, annotation: A) where
A: Into<AnnotationSpec>,
A: Into<AnnotationSpec>,
fn push_argument<A>(&mut self, argument: A) where
A: Into<ArgumentSpec>,
A: Into<ArgumentSpec>,
fn throws<T>(&mut self, throws: T) where
T: Into<ClassType>,
T: Into<ClassType>,
fn push<E>(&mut self, element: E) where
E: Into<Element>,
E: Into<Element>,
fn as_element(self, enclosing: &str) -> Element
Trait Implementations
impl Debug for ConstructorSpec
[src]
impl Clone for ConstructorSpec
[src]
fn clone(&self) -> ConstructorSpec
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 ConstructorSpec where
T: Into<ConstructorSpec> + Clone,
[src]
T: Into<ConstructorSpec> + Clone,
fn from(value: &'a T) -> ConstructorSpec
Performs the conversion.