Enum camo_typescript::BuiltinType
source · pub enum BuiltinType {
Number,
Boolean,
String,
Null,
}
Expand description
The built-in types.
Variants§
Trait Implementations§
source§impl Clone for BuiltinType
impl Clone for BuiltinType
source§fn clone(&self) -> BuiltinType
fn clone(&self) -> BuiltinType
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 BuiltinType
impl Debug for BuiltinType
source§impl Display for BuiltinType
impl Display for BuiltinType
source§impl From<BuiltinType> for BuiltinType
impl From<BuiltinType> for BuiltinType
source§fn from(builtin: BuiltinType) -> Self
fn from(builtin: BuiltinType) -> Self
Converts to this type from the input type.
source§impl From<BuiltinType> for Type
impl From<BuiltinType> for Type
source§fn from(value: BuiltinType) -> Self
fn from(value: BuiltinType) -> Self
Converts to this type from the input type.
source§impl PartialEq<BuiltinType> for BuiltinType
impl PartialEq<BuiltinType> for BuiltinType
source§fn eq(&self, other: &BuiltinType) -> bool
fn eq(&self, other: &BuiltinType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.