pub enum DataType {
Byte,
Word,
Dword,
Qword,
Reference(Box<DataType>),
Equivalent(Box<DataType>, String),
Array(Box<DataType>, usize),
String(usize),
Struct(Vec<DataType>),
}Variants§
Byte
Word
Dword
Qword
Reference(Box<DataType>)
Equivalent(Box<DataType>, String)
Array(Box<DataType>, usize)
String(usize)
Struct(Vec<DataType>)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataType
impl<'de> Deserialize<'de> for DataType
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 DslArg for DataType
impl DslArg for DataType
Source§const KIND: ArgKind = ArgKind::Struct
const KIND: ArgKind = ArgKind::Struct
How the generic machinery handles this argument’s shape.
Source§const SLUG: &'static str = "data_type"
const SLUG: &'static str = "data_type"
The stable wire slug a schema/UI switches on, finer than the JSON type.
impl Eq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl Forget for DataType
impl Freeze for DataType
impl Move for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnsafeUnpin for DataType
impl UnwindSafe for DataType
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