Struct rustdoc::clean::Static [−] [src]

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

Fields

type_
Unstable
mutability
Unstable
expr
Unstable

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 Debug for Static

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

impl Decodable for Static

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

impl Encodable for Static

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

impl Clone for Static

fn clone(&self) -> Static

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