pub struct FunctionType { /* private fields */ }
Expand description
A reference to a stateful function, consisting of a namespace and a name.
A function’s type is part of a function’s Address and serves as integral part of an individual function’s identity.
Implementations§
Source§impl FunctionType
impl FunctionType
Sourcepub fn new(namespace: &str, name: &str) -> FunctionType
pub fn new(namespace: &str, name: &str) -> FunctionType
Creates a new FunctionType
from the given namespace and name.
Trait Implementations§
Source§impl Debug for FunctionType
impl Debug for FunctionType
Source§impl Display for FunctionType
impl Display for FunctionType
Source§impl Hash for FunctionType
impl Hash for FunctionType
Source§impl PartialEq for FunctionType
impl PartialEq for FunctionType
impl Eq for FunctionType
impl StructuralPartialEq for FunctionType
Auto Trait Implementations§
impl Freeze for FunctionType
impl RefUnwindSafe for FunctionType
impl Send for FunctionType
impl Sync for FunctionType
impl Unpin for FunctionType
impl UnwindSafe for FunctionType
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.