#[repr(u8)]pub enum IrValueKind {
Unknown = 0,
None = 1,
Tag = 2,
Int = 3,
Int64 = 4,
Pointer = 5,
Float = 6,
Double = 7,
Tvalue = 8,
Count = 9,
}Variants§
Unknown = 0
None = 1
Tag = 2
Int = 3
Int64 = 4
Pointer = 5
Float = 6
Double = 7
Tvalue = 8
Count = 9
Implementations§
Source§impl IrValueKind
impl IrValueKind
pub const Unknown: Self = Self::Unknown
pub const None: Self = Self::None
pub const Tag: Self = Self::Tag
pub const Int: Self = Self::Int
pub const Int64: Self = Self::Int64
pub const Pointer: Self = Self::Pointer
pub const Float: Self = Self::Float
pub const Double: Self = Self::Double
pub const Tvalue: Self = Self::Tvalue
pub const Count: Self = Self::Count
Trait Implementations§
Source§impl Clone for IrValueKind
impl Clone for IrValueKind
Source§fn clone(&self) -> IrValueKind
fn clone(&self) -> IrValueKind
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 IrValueKind
Source§impl Debug for IrValueKind
impl Debug for IrValueKind
impl Eq for IrValueKind
Source§impl Hash for IrValueKind
impl Hash for IrValueKind
Source§impl PartialEq for IrValueKind
impl PartialEq for IrValueKind
Source§fn eq(&self, other: &IrValueKind) -> bool
fn eq(&self, other: &IrValueKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IrValueKind
Auto Trait Implementations§
impl Freeze for IrValueKind
impl RefUnwindSafe for IrValueKind
impl Send for IrValueKind
impl Sync for IrValueKind
impl Unpin for IrValueKind
impl UnsafeUnpin for IrValueKind
impl UnwindSafe for IrValueKind
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