Enum ra_ap_hir_def::type_ref::ConstScalar [−][src]
pub enum ConstScalar { Usize(u64), Unknown, }
Expand description
A concrete constant value
Variants
Usize(u64)
Case of an unknown value that rustc might know but we don’t
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ConstScalar
impl Send for ConstScalar
impl Sync for ConstScalar
impl Unpin for ConstScalar
impl UnwindSafe for ConstScalar
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.