Enum languageserver_types::NumberOrString [−][src]
Variants
Number(u64)
String(String)
Trait Implementations
impl Debug for NumberOrString
[src]
impl Debug for NumberOrString
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for NumberOrString
[src]
impl Eq for NumberOrString
impl PartialEq for NumberOrString
[src]
impl PartialEq for NumberOrString
fn eq(&self, other: &NumberOrString) -> bool
[src]
fn eq(&self, other: &NumberOrString) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &NumberOrString) -> bool
[src]
fn ne(&self, other: &NumberOrString) -> bool
This method tests for !=
.
impl Clone for NumberOrString
[src]
impl Clone for NumberOrString
fn clone(&self) -> NumberOrString
[src]
fn clone(&self) -> NumberOrString
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for NumberOrString
impl Send for NumberOrString
impl Sync for NumberOrString
impl Sync for NumberOrString