#[non_exhaustive]pub enum UniversalType {
Bool,
USize,
ISize,
Int(NonZeroUsize),
UInt(NonZeroUsize),
Float(NonZeroUsize),
Char,
String,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for UniversalType
impl Clone for UniversalType
Source§fn clone(&self) -> UniversalType
fn clone(&self) -> UniversalType
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 UniversalType
impl Debug for UniversalType
Source§impl Display for UniversalType
impl Display for UniversalType
Source§impl FromStr for UniversalType
impl FromStr for UniversalType
Source§impl Hash for UniversalType
impl Hash for UniversalType
Source§impl PartialEq for UniversalType
impl PartialEq for UniversalType
impl Eq for UniversalType
impl StructuralPartialEq for UniversalType
Auto Trait Implementations§
impl Freeze for UniversalType
impl RefUnwindSafe for UniversalType
impl Send for UniversalType
impl Sync for UniversalType
impl Unpin for UniversalType
impl UnwindSafe for UniversalType
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