Struct syntax::ast::ViewItemUnstable [-]  [+] [src]

pub struct ViewItem {
    pub node: ViewItem_,
    pub attrs: Vec<Attribute>,
    pub vis: Visibility,
    pub span: Span,
}

Fields

node
attrs
vis
span

Trait Implementations

Derived Implementations

impl Show for ViewItem

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<__S: Writer + Hasher> Hash<__S> for ViewItem

fn hash(&self, __arg_0: &mut __S)

impl Decodable for ViewItem

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<ViewItem, Error>

impl Encodable for ViewItem

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), Error>

impl Eq for ViewItem

fn assert_receiver_is_total_eq(&self)

impl PartialEq for ViewItem

fn eq(&self, __arg_0: &ViewItem) -> bool

fn ne(&self, __arg_0: &ViewItem) -> bool

impl Clone for ViewItem

fn clone(&self) -> ViewItem

fn clone_from(&mut self, source: &Self)