Enum gluon_base::types::BuiltinType
source · pub enum BuiltinType {
String,
Byte,
Char,
Int,
Float,
Array,
Function,
}
Expand description
All the builtin types of gluon
Variants
String
Unicode string
Byte
Unsigned byte
Char
Character
Int
Integer number
Float
Floating point number
Array
Type constructor for arrays, Array a : Type -> Type
Function
Type constructor for functions, (->) a b : Type -> Type -> Type
Implementations
sourceimpl BuiltinType
impl BuiltinType
sourceimpl BuiltinType
impl BuiltinType
Trait Implementations
sourceimpl Clone for BuiltinType
impl Clone for BuiltinType
sourcefn clone(&self) -> BuiltinType
fn clone(&self) -> BuiltinType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BuiltinType
impl Debug for BuiltinType
sourceimpl Display for BuiltinType
impl Display for BuiltinType
sourceimpl FromStr for BuiltinType
impl FromStr for BuiltinType
sourceimpl Hash for BuiltinType
impl Hash for BuiltinType
sourceimpl PartialEq<BuiltinType> for BuiltinType
impl PartialEq<BuiltinType> for BuiltinType
sourcefn eq(&self, other: &BuiltinType) -> bool
fn eq(&self, other: &BuiltinType) -> bool
impl Copy for BuiltinType
impl Eq for BuiltinType
impl StructuralEq for BuiltinType
impl StructuralPartialEq for BuiltinType
Auto Trait Implementations
impl RefUnwindSafe for BuiltinType
impl Send for BuiltinType
impl Sync for BuiltinType
impl Unpin for BuiltinType
impl UnwindSafe for BuiltinType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more