Enum xcell_types::XCellValue
source · pub enum XCellValue {
Show 20 variants
Boolean(bool),
Integer8(i8),
Integer16(i16),
Integer32(i32),
Integer64(i64),
Unsigned8(u8),
Unsigned16(u16),
Unsigned32(u32),
Unsigned64(u64),
Float32(f32),
Float64(f64),
Vector2([f32; 2]),
Vector3([f32; 3]),
Vector4([f32; 4]),
Color4([f32; 4]),
Quaternion4([f32; 4]),
String(String),
Color(Color),
Vector(Vec<XCellValue>),
Enumerate(String),
}Variants
Boolean(bool)
Integer8(i8)
Integer16(i16)
Integer32(i32)
Integer64(i64)
Unsigned8(u8)
Unsigned16(u16)
Unsigned32(u32)
Unsigned64(u64)
Float32(f32)
Float64(f64)
Vector2([f32; 2])
Vector3([f32; 3])
Vector4([f32; 4])
Color4([f32; 4])
Quaternion4([f32; 4])
String(String)
Color(Color)
Vector(Vec<XCellValue>)
Enumerate(String)
Implementations
sourceimpl XCellValue
impl XCellValue
pub fn link_enumerate(&mut self, typing: &XCellTyped) -> XResult<()>
Trait Implementations
sourceimpl Clone for XCellValue
impl Clone for XCellValue
sourcefn clone(&self) -> XCellValue
fn clone(&self) -> XCellValue
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 XCellValue
impl Debug for XCellValue
sourceimpl Default for XCellValue
impl Default for XCellValue
sourceimpl<'de> Deserialize<'de> for XCellValue
impl<'de> Deserialize<'de> for XCellValue
sourcefn 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
sourceimpl Display for XCellValue
impl Display for XCellValue
sourceimpl Serialize for XCellValue
impl Serialize for XCellValue
sourceimpl StreamWriter for XCellValue
impl StreamWriter for XCellValue
Auto Trait Implementations
impl RefUnwindSafe for XCellValue
impl Send for XCellValue
impl Sync for XCellValue
impl Unpin for XCellValue
impl UnwindSafe for XCellValue
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