pub enum KnownFunc {
FuncKey(FuncKey),
FactIntrinsic(FactInlineIntrinsic),
}Expand description
A statically-known function import.
Variants§
FuncKey(FuncKey)
A function described by the given key.
FactIntrinsic(FactInlineIntrinsic)
An always-inlined FACT intrinsic.
Trait Implementations§
Source§impl From<FactInlineIntrinsic> for KnownFunc
impl From<FactInlineIntrinsic> for KnownFunc
Source§fn from(intrinsic: FactInlineIntrinsic) -> Self
fn from(intrinsic: FactInlineIntrinsic) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KnownFunc
impl RefUnwindSafe for KnownFunc
impl Send for KnownFunc
impl Sync for KnownFunc
impl Unpin for KnownFunc
impl UnsafeUnpin for KnownFunc
impl UnwindSafe for KnownFunc
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