pub enum SpecFuncKind {
Thy(ThyFunc),
Def(FluxDefId),
}Variants§
Thy(ThyFunc)
Theory symbols interpreted by the SMT solver
Def(FluxDefId)
User-defined function. This can be either a function with a body or a UIF.
Trait Implementations§
Source§impl Clone for SpecFuncKind
impl Clone for SpecFuncKind
Source§fn clone(&self) -> SpecFuncKind
fn clone(&self) -> SpecFuncKind
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 moreSource§impl Debug for SpecFuncKind
impl Debug for SpecFuncKind
Source§impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for SpecFuncKind
impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for SpecFuncKind
Source§impl<'tcx, __E: TyEncoder<'tcx>> Encodable<__E> for SpecFuncKind
impl<'tcx, __E: TyEncoder<'tcx>> Encodable<__E> for SpecFuncKind
impl Eq for SpecFuncKind
Source§impl From<SpecFuncKind> for Expr
impl From<SpecFuncKind> for Expr
Source§fn from(kind: SpecFuncKind) -> Self
fn from(kind: SpecFuncKind) -> Self
Converts to this type from the input type.
Source§impl Hash for SpecFuncKind
impl Hash for SpecFuncKind
Source§impl PartialEq for SpecFuncKind
impl PartialEq for SpecFuncKind
impl StructuralPartialEq for SpecFuncKind
Auto Trait Implementations§
impl DynSend for SpecFuncKind
impl DynSync for SpecFuncKind
impl Freeze for SpecFuncKind
impl RefUnwindSafe for SpecFuncKind
impl Send for SpecFuncKind
impl Sync for SpecFuncKind
impl Unpin for SpecFuncKind
impl UnsafeUnpin for SpecFuncKind
impl UnwindSafe for SpecFuncKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<K> IntoQueryKey<K> for K
impl<K> IntoQueryKey<K> for K
§fn into_query_key(self) -> K
fn into_query_key(self) -> K
Argument conversion from
Self to K.
This should always be a very cheap conversion, e.g. [LocalDefId::to_def_id].