pub enum FunctionRef {
Concrete(Mfa),
UnresolvedModule {
function: FunctionName,
arity: Option<Arity>,
},
UnresolvedFunction {
module: ModuleName,
arity: Option<Arity>,
},
UnresolvedBoth {
arity: Option<Arity>,
},
}Variants§
Implementations§
Source§impl FunctionRef
impl FunctionRef
Trait Implementations§
Source§impl Clone for FunctionRef
impl Clone for FunctionRef
Source§impl Debug for FunctionRef
impl Debug for FunctionRef
Source§impl<'de> Deserialize<'de> for FunctionRef
impl<'de> Deserialize<'de> for FunctionRef
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 Display for FunctionRef
impl Display for FunctionRef
impl Eq for FunctionRef
Source§impl Hash for FunctionRef
impl Hash for FunctionRef
Source§impl Ord for FunctionRef
impl Ord for FunctionRef
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 FunctionRef
impl PartialEq for FunctionRef
Source§impl PartialOrd for FunctionRef
impl PartialOrd for FunctionRef
Source§impl Serialize for FunctionRef
impl Serialize for FunctionRef
impl StructuralPartialEq for FunctionRef
Auto Trait Implementations§
impl Forget for FunctionRef
impl Freeze for FunctionRef
impl Move for FunctionRef
impl RefUnwindSafe for FunctionRef
impl Send for FunctionRef
impl Sync for FunctionRef
impl Unpin for FunctionRef
impl UnsafeUnpin for FunctionRef
impl UnwindSafe for FunctionRef
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