Enum javascriptcore::OptionType
source · #[non_exhaustive]
pub enum OptionType {
Boolean,
Int,
Uint,
Size,
Double,
String,
RangeString,
// some variants omitted
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for OptionType
impl Clone for OptionType
source§fn clone(&self) -> OptionType
fn clone(&self) -> OptionType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OptionType
impl Debug for OptionType
source§impl Display for OptionType
impl Display for OptionType
source§impl Hash for OptionType
impl Hash for OptionType
source§impl Ord for OptionType
impl Ord for OptionType
source§fn cmp(&self, other: &OptionType) -> Ordering
fn cmp(&self, other: &OptionType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<OptionType> for OptionType
impl PartialEq<OptionType> for OptionType
source§fn eq(&self, other: &OptionType) -> bool
fn eq(&self, other: &OptionType) -> bool
source§impl PartialOrd<OptionType> for OptionType
impl PartialOrd<OptionType> for OptionType
source§fn partial_cmp(&self, other: &OptionType) -> Option<Ordering>
fn partial_cmp(&self, other: &OptionType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more