Struct syntax_ext::deriving::generic::ty::Path
[−]
[src]
pub struct Path<'a> { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
A path, e.g. ::std::option::Option::<i32>
(global). Has support
for type parameters and a lifetime.
Methods
impl<'a> Path<'a>
[src]
impl<'a> Path<'a>
pub fn new<'r>(path: Vec<&'r str>) -> Path<'r>
[src]
pub fn new<'r>(path: Vec<&'r str>) -> Path<'r>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn new_local<'r>(path: &'r str) -> Path<'r>
[src]
pub fn new_local<'r>(path: &'r str) -> Path<'r>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn new_<'r>(
path: Vec<&'r str>,
lifetime: Option<&'r str>,
params: Vec<Box<Ty<'r>>>,
kind: PathKind
) -> Path<'r>
[src]
pub fn new_<'r>(
path: Vec<&'r str>,
lifetime: Option<&'r str>,
params: Vec<Box<Ty<'r>>>,
kind: PathKind
) -> Path<'r>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn to_ty(
&self,
cx: &ExtCtxt,
span: Span,
self_ty: Ident,
self_generics: &Generics
) -> P<Ty>
[src]
pub fn to_ty(
&self,
cx: &ExtCtxt,
span: Span,
self_ty: Ident,
self_generics: &Generics
) -> P<Ty>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn to_path(
&self,
cx: &ExtCtxt,
span: Span,
self_ty: Ident,
self_generics: &Generics
) -> Path
[src]
pub fn to_path(
&self,
cx: &ExtCtxt,
span: Span,
self_ty: Ident,
self_generics: &Generics
) -> Path
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl<'a> Clone for Path<'a>
[src]
impl<'a> Clone for Path<'a>
fn clone(&self) -> Path<'a>
[src]
fn clone(&self) -> Path<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<'a> Eq for Path<'a>
[src]
impl<'a> Eq for Path<'a>
impl<'a> PartialEq for Path<'a>
[src]
impl<'a> PartialEq for Path<'a>