pub enum Boolean {
True,
False,
}
The tokenized representation of true
or false
Test if this instance represents true
Create a BooleanLiteral from raw text
panics if argument is not true
or false
Create a BooleanLiteral from raw text
panics if argument is not true
or false
Creates a JS Bool for a rust bool
Return this BooleanLiteral to the text
that was parsed to create it
Performs copy-assignment from source
. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Return this BooleanLiteral to the text
that was parsed to create it
Creates a Rust bool for a js bool
Creates a js bool for a rust bool
Formats the value using the given formatter. Read more
Converts the given value to a String
. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)