pub struct HostImport {
pub name: String,
pub arity: u8,
pub return_type: ValueType,
}Fields§
§name: String§arity: u8§return_type: ValueTypeTrait Implementations§
Source§impl Clone for HostImport
impl Clone for HostImport
Source§fn clone(&self) -> HostImport
fn clone(&self) -> HostImport
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 HostImport
impl Debug for HostImport
impl Eq for HostImport
Source§impl Hash for HostImport
impl Hash for HostImport
Source§impl PartialEq for HostImport
impl PartialEq for HostImport
impl StructuralPartialEq for HostImport
Auto Trait Implementations§
impl Freeze for HostImport
impl RefUnwindSafe for HostImport
impl Send for HostImport
impl Sync for HostImport
impl Unpin for HostImport
impl UnsafeUnpin for HostImport
impl UnwindSafe for HostImport
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.