pub enum RadType {
Bool,
Int(RadIntId),
Float(RadFloatId),
Array(RadIntId, RadAtomicId),
String,
}
Expand description
The top-level enum representing the different types that can be encoded in the tag system.
Variants§
Implementations§
Trait Implementations§
source§impl From<u8> for RadType
impl From<u8> for RadType
Convert from a u8 to the corresponding RadType. This will only work for non-aggregate types (i.e. it will not work for the array type, since the type requiers more than a u8 worth of information).
source§impl PartialEq for RadType
impl PartialEq for RadType
impl Copy for RadType
impl Eq for RadType
impl StructuralPartialEq for RadType
Auto Trait Implementations§
impl RefUnwindSafe for RadType
impl Send for RadType
impl Sync for RadType
impl Unpin for RadType
impl UnwindSafe for RadType
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<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.