pub enum FnVal<'tcx, Other> {
Instance(Instance<'tcx>),
Other(Other),
}Expand description
The value of a function pointer.
Variants
Instance(Instance<'tcx>)
Other(Other)
Implementations
Trait Implementations
Auto Trait Implementations
impl<'tcx, Other> !RefUnwindSafe for FnVal<Other>
impl<'tcx, Other> !UnwindSafe for FnVal<Other>
Blanket Implementations
Mutably borrows from an owned value. 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.