pub enum SingleType {
Byte,
Char,
Double,
Float,
Int,
Long,
Reference(String),
Short,
Boolean,
}
Expand description
This is an enum, used to represent a base type (without array data)
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SingleType
impl Clone for SingleType
Source§fn clone(&self) -> SingleType
fn clone(&self) -> SingleType
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 SingleType
impl Debug for SingleType
Source§impl From<SingleType> for FieldType
impl From<SingleType> for FieldType
Source§fn from(v: SingleType) -> Self
fn from(v: SingleType) -> Self
Converts to this type from the input type.
Source§impl Hash for SingleType
impl Hash for SingleType
Source§impl PartialEq for SingleType
impl PartialEq for SingleType
impl Eq for SingleType
impl StructuralPartialEq for SingleType
Auto Trait Implementations§
impl Freeze for SingleType
impl RefUnwindSafe for SingleType
impl Send for SingleType
impl Sync for SingleType
impl Unpin for SingleType
impl UnwindSafe for SingleType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more