Struct rustdoc::clean::ConstantUnstable [-] [+] [src]

pub struct Constant {
    pub type_: Type,
    pub expr: String,
}

Fields

type_
expr

Trait Implementations

Derived Implementations

impl Debug for Constant

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

impl Decodable for Constant

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

impl Encodable for Constant

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

impl Clone for Constant

fn clone(&self) -> Constant

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