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

pub struct Static {
    pub type_: Type,
    pub mutability: Mutability,
    pub expr: String,
}

Fields

type_
mutability
expr

It's useful to have the value of a static documented, but I have no desire to represent expressions (that'd basically be all of the AST, which is huge!). So, have a string.

Trait Implementations

Derived Implementations

impl Show for Static

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

impl Decodable for Static

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

impl Encodable for Static

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

impl Clone for Static

fn clone(&self) -> Static

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