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§
Source§impl XCellValue
impl XCellValue
pub fn link_enumerate(&mut self, typing: &XCellTyped) -> XResult<()>
Trait Implementations§
Source§impl Clone for XCellValue
impl Clone for XCellValue
Source§fn clone(&self) -> XCellValue
fn clone(&self) -> XCellValue
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for XCellValue
impl Debug for XCellValue
Source§impl Default for XCellValue
impl Default for XCellValue
Source§impl<'de> Deserialize<'de> for XCellValue
impl<'de> Deserialize<'de> for XCellValue
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 Display for XCellValue
impl Display for XCellValue
Source§impl Serialize for XCellValue
impl Serialize for XCellValue
Auto Trait Implementations§
impl Freeze for XCellValue
impl RefUnwindSafe for XCellValue
impl Send for XCellValue
impl Sync for XCellValue
impl Unpin for XCellValue
impl UnwindSafe for XCellValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more