#[repr(u8)]pub enum IrConstKind {
Int = 0,
Int64 = 1,
Uint = 2,
Double = 3,
Tag = 4,
Import = 5,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for IrConstKind
impl Clone for IrConstKind
Source§fn clone(&self) -> IrConstKind
fn clone(&self) -> IrConstKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IrConstKind
Source§impl Debug for IrConstKind
impl Debug for IrConstKind
impl Eq for IrConstKind
Source§impl Hash for IrConstKind
impl Hash for IrConstKind
Source§impl PartialEq for IrConstKind
impl PartialEq for IrConstKind
Source§fn eq(&self, other: &IrConstKind) -> bool
fn eq(&self, other: &IrConstKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IrConstKind
Auto Trait Implementations§
impl Freeze for IrConstKind
impl RefUnwindSafe for IrConstKind
impl Send for IrConstKind
impl Sync for IrConstKind
impl Unpin for IrConstKind
impl UnsafeUnpin for IrConstKind
impl UnwindSafe for IrConstKind
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