Struct rustdoc::clean::StaticExperimental [-]  [+] [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<__D: Decoder<__E>, __E> Decodable<__D, __E> for Static

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

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Static

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

impl Clone for Static

fn clone(&self) -> Static

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