Enum syntex_syntax::ast::Visibility [] [src]

pub enum Visibility {
    Public,
    Inherited,
}

Variants

Public
Inherited

Methods

impl Visibility

fn inherit_from(&self, parent_visibility: Visibility) -> Visibility

Trait Implementations

Derived Implementations

impl Copy for Visibility

impl Debug for Visibility

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

impl Hash for Visibility

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for Visibility

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

impl Encodable for Visibility

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

impl Eq for Visibility

impl PartialEq for Visibility

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

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

impl Clone for Visibility

fn clone(&self) -> Visibility

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