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