Struct syntax_pos::symbol::keywords::Keyword
[−]
[src]
pub struct Keyword { /* 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?
Methods
impl Keyword[src]
impl Keywordpub fn ident(self) -> Ident[src]
pub fn ident(self) -> Ident🔬 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 name(self) -> Symbol[src]
pub fn name(self) -> Symbol🔬 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 Clone for Keyword[src]
impl Clone for Keywordfn clone(&self) -> Keyword[src]
fn clone(&self) -> KeywordReturns 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)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Keyword[src]
impl Copy for Keywordimpl PartialEq for Keyword[src]
impl PartialEq for Keywordfn eq(&self, __arg_0: &Keyword) -> bool[src]
fn eq(&self, __arg_0: &Keyword) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Keyword) -> bool[src]
fn ne(&self, __arg_0: &Keyword) -> boolThis method tests for !=.
impl Eq for Keyword[src]
impl Eq for Keyword