pub enum BasicType<'a> {
Byte,
Char,
Double,
Float,
Int,
Long,
Class(Id<'a>),
Short,
Boolean,
Void,
}
Variants§
Trait Implementations§
Source§impl<'a> Ord for BasicType<'a>
impl<'a> Ord for BasicType<'a>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialOrd for BasicType<'a>
impl<'a> PartialOrd for BasicType<'a>
impl<'a> Copy for BasicType<'a>
impl<'a> Eq for BasicType<'a>
impl<'a> StructuralPartialEq for BasicType<'a>
Auto Trait Implementations§
impl<'a> Freeze for BasicType<'a>
impl<'a> RefUnwindSafe for BasicType<'a>
impl<'a> Send for BasicType<'a>
impl<'a> Sync for BasicType<'a>
impl<'a> Unpin for BasicType<'a>
impl<'a> UnwindSafe for BasicType<'a>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)