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§fn clone(&self) -> FunctionRef
fn clone(&self) -> FunctionRef
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 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<FunctionRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionRef, <__D as Deserializer<'de>>::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
Source§fn cmp(&self, other: &FunctionRef) -> Ordering
fn cmp(&self, other: &FunctionRef) -> Ordering
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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for FunctionRef
Auto Trait Implementations§
impl Freeze 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