Struct codeviz_java::InterfaceSpec
[−]
[src]
pub struct InterfaceSpec { pub modifiers: Modifiers, pub name: String, pub annotations: Vec<AnnotationSpec>, pub elements: Elements, pub extends: Vec<ClassType>, }
Fields
modifiers: Modifiers
name: String
annotations: Vec<AnnotationSpec>
elements: Elements
extends: Vec<ClassType>
Methods
impl InterfaceSpec
[src]
fn new(modifiers: Modifiers, name: &str) -> InterfaceSpec
fn push_annotation(&mut self, annotation: &AnnotationSpec)
fn extends<T>(&mut self, ty: T) where
T: Into<ClassType>,
T: Into<ClassType>,
Trait Implementations
impl ContainerSpec for InterfaceSpec
[src]
impl Debug for InterfaceSpec
[src]
impl Clone for InterfaceSpec
[src]
fn clone(&self) -> InterfaceSpec
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