Enum rustc_middle::mir::interpret::ScalarMaybeUninit [−][src]
Variants
Scalar(Scalar<Tag>)
Tuple Fields of Scalar
0: Scalar<Tag>
Implementations
Trait Implementations
impl<'tcx, Tag, __D: TyDecoder<'tcx>> Decodable<__D> for ScalarMaybeUninit<Tag> where
Tag: Decodable<__D>,
impl<'tcx, Tag, __D: TyDecoder<'tcx>> Decodable<__D> for ScalarMaybeUninit<Tag> where
Tag: Decodable<__D>,
impl<'tcx, Tag, __E: TyEncoder<'tcx>> Encodable<__E> for ScalarMaybeUninit<Tag> where
Tag: Encodable<__E>,
impl<'tcx, Tag, __E: TyEncoder<'tcx>> Encodable<__E> for ScalarMaybeUninit<Tag> where
Tag: Encodable<__E>,
impl<'__ctx, Tag> HashStable<StableHashingContext<'__ctx>> for ScalarMaybeUninit<Tag> where
Tag: HashStable<StableHashingContext<'__ctx>>,
impl<'__ctx, Tag> HashStable<StableHashingContext<'__ctx>> for ScalarMaybeUninit<Tag> where
Tag: HashStable<StableHashingContext<'__ctx>>,
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<Tag> RefUnwindSafe for ScalarMaybeUninit<Tag> where
Tag: RefUnwindSafe,
impl<Tag> Send for ScalarMaybeUninit<Tag> where
Tag: Send,
impl<Tag> Sync for ScalarMaybeUninit<Tag> where
Tag: Sync,
impl<Tag> Unpin for ScalarMaybeUninit<Tag> where
Tag: Unpin,
impl<Tag> UnwindSafe for ScalarMaybeUninit<Tag> where
Tag: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<Ctxt, T> DepNodeParams<Ctxt> for T where
Ctxt: DepContext,
T: for<'a> HashStable<StableHashingContext<'a>> + Debug,
impl<Ctxt, T> DepNodeParams<Ctxt> for T where
Ctxt: DepContext,
T: for<'a> HashStable<StableHashingContext<'a>> + Debug,
This method turns the parameters of a DepNodeConstructor into an opaque Fingerprint to be used in DepNode. Not all DepNodeParams support being turned into a Fingerprint (they don’t need to if the corresponding DepNode is anonymous). Read more
This method tries to recover the query key from the given DepNode
,
something which is needed when forcing DepNode
s during red-green
evaluation. The query system will only call this method if
fingerprint_style()
is not FingerprintStyle::Opaque
.
It is always valid to return None
here, in which case incremental
compilation will treat the query as having changed instead of forcing it. Read more
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.