Enum syntex_syntax::ast::Constness [] [src]

pub enum Constness {
    Const,
    NotConst,
}

Variants

Const
NotConst

Trait Implementations

Derived Implementations

impl Debug for Constness

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

impl Hash for Constness

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

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

impl Decodable for Constness

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

impl Encodable for Constness

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

impl Eq for Constness

impl PartialEq for Constness

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

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

impl Clone for Constness

fn clone(&self) -> Constness

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

impl Copy for Constness