Enum ress::Boolean [−][src]
pub enum Boolean { True, False, }
The tokenized representation of true
or false
Variants
True
False
Methods
impl BooleanLiteral
[src]
impl BooleanLiteral
Trait Implementations
impl Debug for BooleanLiteral
[src]
impl Debug for BooleanLiteral
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 PartialEq for BooleanLiteral
[src]
impl PartialEq for BooleanLiteral
fn eq(&self, other: &BooleanLiteral) -> bool
[src]
fn eq(&self, other: &BooleanLiteral) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for BooleanLiteral
[src]
impl Clone for BooleanLiteral
fn clone(&self) -> BooleanLiteral
[src]
fn clone(&self) -> BooleanLiteral
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
impl Copy for BooleanLiteral
[src]
impl Copy for BooleanLiteral
impl<'a> From<&'a str> for BooleanLiteral
[src]
impl<'a> From<&'a str> for BooleanLiteral
fn from(s: &'a str) -> Self
[src]
fn from(s: &'a str) -> Self
Create a BooleanLiteral from raw text
panics if argument is not true
or false
impl From<String> for BooleanLiteral
[src]
impl From<String> for BooleanLiteral
fn from(s: String) -> Self
[src]
fn from(s: String) -> Self
Create a BooleanLiteral from raw text
panics if argument is not true
or false
impl From<bool> for BooleanLiteral
[src]
impl From<bool> for BooleanLiteral
impl Into<String> for BooleanLiteral
[src]
impl Into<String> for BooleanLiteral
impl ToString for BooleanLiteral
[src]
impl ToString for BooleanLiteral
fn to_string(&self) -> String
[src]
fn to_string(&self) -> String
Return this BooleanLiteral to the text that was parsed to create it
impl Into<bool> for BooleanLiteral
[src]
impl Into<bool> for BooleanLiteral
impl<'a> Into<bool> for &'a BooleanLiteral
[src]
impl<'a> Into<bool> for &'a BooleanLiteral