pub enum GaiaConstant {
Integer8(i8),
Integer16(i16),
Integer32(i32),
Integer64(i64),
Float32(f32),
Float64(f64),
Boolean(bool),
String(String),
Null,
}Expand description
Gaia 常量值
Variants§
Integer8(i8)
8位整数常量
Integer16(i16)
16位整数常量
Integer32(i32)
32位整数常量
Integer64(i64)
64位整数常量
Float32(f32)
32位浮点常量
Float64(f64)
64位浮点常量
Boolean(bool)
布尔常量
String(String)
字符串常量
Null
空值
Trait Implementations§
Source§impl Clone for GaiaConstant
impl Clone for GaiaConstant
Source§fn clone(&self) -> GaiaConstant
fn clone(&self) -> GaiaConstant
Returns a duplicate 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 GaiaConstant
impl Debug for GaiaConstant
Source§impl<'de> Deserialize<'de> for GaiaConstant
impl<'de> Deserialize<'de> for GaiaConstant
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GaiaConstant
impl PartialEq for GaiaConstant
Source§impl Serialize for GaiaConstant
impl Serialize for GaiaConstant
impl StructuralPartialEq for GaiaConstant
Auto Trait Implementations§
impl Freeze for GaiaConstant
impl RefUnwindSafe for GaiaConstant
impl Send for GaiaConstant
impl Sync for GaiaConstant
impl Unpin for GaiaConstant
impl UnwindSafe for GaiaConstant
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