Struct chalk_ir::ConcreteConst [−][src]
pub struct ConcreteConst<I: Interner> {
pub interned: I::InternedConcreteConst,
}
Expand description
Concrete constant, whose value is known (as opposed to inferred constants and placeholders).
Fields
interned: I::InternedConcreteConst
The interned constant.
Implementations
Trait Implementations
type Interner = I
type Interner = I
The interner associated with the type.
impl<I: PartialEq + Interner> PartialEq<ConcreteConst<I>> for ConcreteConst<I> where
I::InternedConcreteConst: PartialEq,
impl<I: PartialEq + Interner> PartialEq<ConcreteConst<I>> for ConcreteConst<I> where
I::InternedConcreteConst: PartialEq,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<I: PartialOrd + Interner> PartialOrd<ConcreteConst<I>> for ConcreteConst<I> where
I::InternedConcreteConst: PartialOrd,
impl<I: PartialOrd + Interner> PartialOrd<ConcreteConst<I>> for ConcreteConst<I> where
I::InternedConcreteConst: PartialOrd,
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<I> RefUnwindSafe for ConcreteConst<I> where
<I as Interner>::InternedConcreteConst: RefUnwindSafe,
impl<I> Send for ConcreteConst<I> where
<I as Interner>::InternedConcreteConst: Send,
impl<I> Sync for ConcreteConst<I> where
<I as Interner>::InternedConcreteConst: Sync,
impl<I> Unpin for ConcreteConst<I> where
<I as Interner>::InternedConcreteConst: Unpin,
impl<I> UnwindSafe for ConcreteConst<I> where
<I as Interner>::InternedConcreteConst: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Cast a value to type U
using CastTo
.