pub enum CallTarget {
External(FunctionRef),
Local(LocalFunctionRef),
}Variants§
External(FunctionRef)
Local(LocalFunctionRef)
Trait Implementations§
Source§impl Clone for CallTarget
impl Clone for CallTarget
Source§impl Debug for CallTarget
impl Debug for CallTarget
Source§impl<'de> Deserialize<'de> for CallTarget
impl<'de> Deserialize<'de> for CallTarget
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
impl Eq for CallTarget
Source§impl Hash for CallTarget
impl Hash for CallTarget
Source§impl Ord for CallTarget
impl Ord for CallTarget
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CallTarget
impl PartialEq for CallTarget
Source§impl PartialOrd for CallTarget
impl PartialOrd for CallTarget
Source§impl Serialize for CallTarget
impl Serialize for CallTarget
impl StructuralPartialEq for CallTarget
Auto Trait Implementations§
impl Freeze for CallTarget
impl RefUnwindSafe for CallTarget
impl Send for CallTarget
impl Sync for CallTarget
impl Unpin for CallTarget
impl UnsafeUnpin for CallTarget
impl UnwindSafe for CallTarget
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