Struct rustdoc::clean::Path [] [src]

pub struct Path {
    pub global: bool,
    pub segments: Vec<PathSegment>,
}
Unstable (rustdoc)

Fields

global: bool
Unstable (rustdoc)
segments: Vec<PathSegment>
Unstable (rustdoc)

Methods

impl Path
[src]

fn singleton(name: String) -> Path

fn last_name(&self) -> String

Trait Implementations

impl Display for Path
[src]

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

Formats the value using the given formatter.

Derived Implementations

impl Debug for Path
[src]

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

Formats the value using the given formatter.

impl PartialEq for Path
[src]

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

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

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

This method tests for !=.

impl Decodable for Path
[src]

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

impl Encodable for Path
[src]

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

impl Clone for Path
[src]

fn clone(&self) -> Path

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