Struct rustdoc::clean::Argument [] [src]

pub struct Argument {
    pub type_: Type,
    pub name: String,
    pub id: NodeId,
}
Unstable (rustdoc)

Fields

type_: Type
Unstable (rustdoc)
name: String
Unstable (rustdoc)
id: NodeId
Unstable (rustdoc)

Methods

impl Argument
[src]

fn to_self(&self) -> Option<SelfTy>

Trait Implementations

Derived Implementations

impl Debug for Argument
[src]

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

Formats the value using the given formatter.

impl PartialEq for Argument
[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

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

This method tests for !=.

impl Decodable for Argument
[src]

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

impl Encodable for Argument
[src]

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

impl Clone for Argument
[src]

fn clone(&self) -> Argument

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more