Struct rustdoc::clean::Path
[−]
[src]
pub struct Path {
pub global: bool,
pub def: Def,
pub segments: Vec<PathSegment>,
}🔬 This is a nightly-only experimental API. (
rustdoc)Fields
global: bool
🔬 This is a nightly-only experimental API. (
rustdoc)def: Def
🔬 This is a nightly-only experimental API. (
rustdoc)segments: Vec<PathSegment>
🔬 This is a nightly-only experimental API. (
rustdoc)Methods
impl Path[src]
fn singleton(name: String) -> Path
🔬 This is a nightly-only experimental API. (
rustdoc)fn last_name(&self) -> &str
🔬 This is a nightly-only experimental API. (
rustdoc)Trait Implementations
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
impl Encodable for Path[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private)
deprecated in favor of rustc-serialize on crates.io
impl Decodable for Path[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Path, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private)
deprecated in favor of rustc-serialize on crates.io
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 !=.