Enum xcell_types::XCellTyped
source · pub enum XCellTyped {
Boolean(Box<BooleanDescription>),
Integer(Box<IntegerDescription>),
Decimal(Box<DecimalDescription>),
String(Box<StringDescription>),
Time(Box<TimeDescription>),
Color(Box<ColorDescription>),
Enumerate(Box<EnumerateDescription>),
Array(Box<ArrayDescription>),
Vector(Box<VectorDescription>),
Custom(Box<CustomDescription>),
}Variants
Boolean(Box<BooleanDescription>)
Integer(Box<IntegerDescription>)
Decimal(Box<DecimalDescription>)
String(Box<StringDescription>)
Time(Box<TimeDescription>)
Color(Box<ColorDescription>)
Enumerate(Box<EnumerateDescription>)
Array(Box<ArrayDescription>)
Vector(Box<VectorDescription>)
Custom(Box<CustomDescription>)
Implementations
sourceimpl XCellTyped
impl XCellTyped
pub fn as_integer(&self) -> Option<&IntegerDescription>
pub fn is_integer(&self) -> bool
sourceimpl XCellTyped
impl XCellTyped
sourceimpl XCellTyped
impl XCellTyped
pub fn as_enumerate(&self) -> Option<&EnumerateDescription>
pub fn mut_enumerate(&mut self) -> Option<&mut EnumerateDescription>
pub fn is_enumerate(&self) -> bool
Trait Implementations
sourceimpl Clone for XCellTyped
impl Clone for XCellTyped
sourcefn clone(&self) -> XCellTyped
fn clone(&self) -> XCellTyped
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 XCellTyped
impl Debug for XCellTyped
sourceimpl<'de> Deserialize<'de> for XCellTyped
impl<'de> Deserialize<'de> for XCellTyped
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 XCellTyped
impl Display for XCellTyped
sourceimpl Serialize for XCellTyped
impl Serialize for XCellTyped
Auto Trait Implementations
impl RefUnwindSafe for XCellTyped
impl Send for XCellTyped
impl Sync for XCellTyped
impl Unpin for XCellTyped
impl UnwindSafe for XCellTyped
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