Enum DataObjectType
#[repr(i32)]pub enum DataObjectType {
Object = 0,
Integer = 1,
Real = 2,
Bool = 3,
String = 4,
Enum = 5,
List = 6,
}Expand description
Legacy version of enum “kanzi.DataObject.Type”. Type enumerations for different data object types.
Variants§
Implementations§
§impl DataObjectType
impl DataObjectType
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> DataObjectType
Trait Implementations§
§impl Clone for DataObjectType
impl Clone for DataObjectType
§fn clone(&self) -> DataObjectType
fn clone(&self) -> DataObjectType
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 more§impl Debug for DataObjectType
impl Debug for DataObjectType
§impl Display for DataObjectType
impl Display for DataObjectType
§impl PartialEq for DataObjectType
impl PartialEq for DataObjectType
§impl VariantConstraint for DataObjectType
impl VariantConstraint for DataObjectType
§type DataArg<'a> = DataObjectType
type DataArg<'a> = DataObjectType
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = DataObjectType
type RetArg = DataObjectType
§fn as_arg(&self) -> <DataObjectType as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <DataObjectType as VariantConstraint>::DataArg<'_>
impl Copy for DataObjectType
impl Eq for DataObjectType
impl PropertyTypeConstraint for DataObjectType
impl StructuralPartialEq for DataObjectType
Auto Trait Implementations§
impl Freeze for DataObjectType
impl RefUnwindSafe for DataObjectType
impl Send for DataObjectType
impl Sync for DataObjectType
impl Unpin for DataObjectType
impl UnwindSafe for DataObjectType
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