Struct codeviz_java::AnnotationSpec
[−]
[src]
pub struct AnnotationSpec { pub ty: Type, pub arguments: Vec<Statement>, }
Fields
ty: Type
arguments: Vec<Statement>
Methods
impl AnnotationSpec
[src]
fn new<I>(ty: I) -> AnnotationSpec where
I: Into<Type>,
[src]
I: Into<Type>,
fn push_argument<S>(&mut self, statement: S) where
S: Into<Statement>,
[src]
S: Into<Statement>,
Trait Implementations
impl Debug for AnnotationSpec
[src]
impl Clone for AnnotationSpec
[src]
fn clone(&self) -> AnnotationSpec
[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<'a, T> From<&'a T> for AnnotationSpec where
T: Into<AnnotationSpec> + Clone,
[src]
T: Into<AnnotationSpec> + Clone,
fn from(value: &'a T) -> AnnotationSpec
[src]
Performs the conversion.
impl From<ClassType> for AnnotationSpec
[src]
fn from(value: ClassType) -> AnnotationSpec
[src]
Performs the conversion.