pub enum FunctionHandleTarget {
Function(FunctionId),
Builtin(BuiltinId),
Anonymous(FunctionId),
DefPath(DefPath),
DynamicName(SymbolName),
}Variants§
Function(FunctionId)
Builtin(BuiltinId)
Anonymous(FunctionId)
DefPath(DefPath)
DynamicName(SymbolName)
Implementations§
Source§impl FunctionHandleTarget
impl FunctionHandleTarget
pub fn identity(&self) -> CallableIdentity
Trait Implementations§
Source§impl Clone for FunctionHandleTarget
impl Clone for FunctionHandleTarget
Source§fn clone(&self) -> FunctionHandleTarget
fn clone(&self) -> FunctionHandleTarget
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 FunctionHandleTarget
impl Debug for FunctionHandleTarget
Source§impl<'de> Deserialize<'de> for FunctionHandleTarget
impl<'de> Deserialize<'de> for FunctionHandleTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FunctionHandleTarget
impl PartialEq for FunctionHandleTarget
Source§fn eq(&self, other: &FunctionHandleTarget) -> bool
fn eq(&self, other: &FunctionHandleTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FunctionHandleTarget
impl Serialize for FunctionHandleTarget
impl StructuralPartialEq for FunctionHandleTarget
Auto Trait Implementations§
impl Freeze for FunctionHandleTarget
impl RefUnwindSafe for FunctionHandleTarget
impl Send for FunctionHandleTarget
impl Sync for FunctionHandleTarget
impl Unpin for FunctionHandleTarget
impl UnsafeUnpin for FunctionHandleTarget
impl UnwindSafe for FunctionHandleTarget
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