Struct mml::core::item::state::abstraction::structure::Struct
[−]
[src]
pub struct Struct<'a> {
pub vis: &'a Visibility,
pub name: InternedString,
pub fields: Vec<(&'a Visibility, InternedString, String)>,
}The structure Struct is a structure abstract element.
Fields
vis: &'a Visibility
name: InternedString
fields: Vec<(&'a Visibility, InternedString, String)>
Trait Implementations
impl<'a> Debug for Struct<'a>[src]
impl<'a> Eq for Struct<'a>[src]
impl<'a> PartialEq for Struct<'a>[src]
fn eq(&self, __arg_0: &Struct<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Struct<'a>) -> bool
This method tests for !=.
impl<'a> Clone for Struct<'a>[src]
fn clone(&self) -> Struct<'a>
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> From<(&'a Item, &'a Vec<StructField>)> for Struct<'a>[src]
fn from((item, struct_field): (&'a Item, &'a Vec<StructField>)) -> Struct<'a>
Performs the conversion.