pub enum ArgDataType {
Show 15 variants
None,
Symbol,
String,
UInt,
Int,
LongUint,
LongInt,
Boolean,
Vector,
Range,
RangeInc,
Variable,
Entity,
Enumerator,
AutoType,
}
Expand description
An argument data type.
Variants§
None
Symbol
String
UInt
Int
LongUint
LongInt
Boolean
Vector
Range
RangeInc
Variable
Entity
Enumerator
AutoType
Implementations§
Source§impl ArgDataType
impl ArgDataType
Sourcepub fn has_subtype(&self) -> bool
pub fn has_subtype(&self) -> bool
Returns true if the datatype requires an inner type (type of collected args)
Trait Implementations§
Source§impl Clone for ArgDataType
impl Clone for ArgDataType
Source§fn clone(&self) -> ArgDataType
fn clone(&self) -> ArgDataType
Returns a copy 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 moreSource§impl Debug for ArgDataType
impl Debug for ArgDataType
Source§impl<'de> Deserialize<'de> for ArgDataType
impl<'de> Deserialize<'de> for ArgDataType
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 ArgDataType
impl Display for ArgDataType
Source§impl PartialEq for ArgDataType
impl PartialEq for ArgDataType
Source§impl Serialize for ArgDataType
impl Serialize for ArgDataType
impl Copy for ArgDataType
impl Eq for ArgDataType
impl StructuralPartialEq for ArgDataType
Auto Trait Implementations§
impl Freeze for ArgDataType
impl RefUnwindSafe for ArgDataType
impl Send for ArgDataType
impl Sync for ArgDataType
impl Unpin for ArgDataType
impl UnwindSafe for ArgDataType
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.