Struct codeviz_rust::StructSpec
[−]
[src]
pub struct StructSpec {
pub name: String,
pub attributes: Elements,
pub elements: Elements,
pub public: bool,
}Fields
name: String
attributes: Elements
elements: Elements
public: bool
Methods
impl StructSpec[src]
fn new(name: &str) -> StructSpec[src]
fn public(&mut self)[src]
fn push_attribute<D>(&mut self, attribute: D) where
D: Into<Element>, [src]
D: Into<Element>,
fn push<E>(&mut self, element: E) where
E: Into<Element>, [src]
E: Into<Element>,
Trait Implementations
impl Debug for StructSpec[src]
impl Clone for StructSpec[src]
fn clone(&self) -> StructSpec[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 StructSpec[src]
fn imports<I>(&self, receiver: &mut I) where
I: ImportReceiver, [src]
I: ImportReceiver,