pub struct ComponentBuiltinFunctionIndex(/* private fields */);
Expand description
An index type for builtin functions.
Implementations§
Source§impl ComponentBuiltinFunctionIndex
impl ComponentBuiltinFunctionIndex
pub const fn resource_new32() -> Self
pub const fn resource_rep32() -> Self
pub const fn resource_drop() -> Self
pub const fn resource_transfer_own() -> Self
pub const fn resource_transfer_borrow() -> Self
pub const fn resource_enter_call() -> Self
pub const fn resource_exit_call() -> Self
pub const fn trap() -> Self
pub const fn utf8_to_utf8() -> Self
pub const fn utf16_to_utf16() -> Self
pub const fn latin1_to_latin1() -> Self
pub const fn latin1_to_utf16() -> Self
pub const fn utf8_to_utf16() -> Self
pub const fn utf16_to_utf8() -> Self
pub const fn latin1_to_utf8() -> Self
pub const fn utf16_to_compact_probably_utf16() -> Self
pub const fn utf8_to_latin1() -> Self
pub const fn utf16_to_latin1() -> Self
pub const fn utf8_to_compact_utf16() -> Self
pub const fn utf16_to_compact_utf16() -> Self
Trait Implementations§
Source§impl Clone for ComponentBuiltinFunctionIndex
impl Clone for ComponentBuiltinFunctionIndex
Source§fn clone(&self) -> ComponentBuiltinFunctionIndex
fn clone(&self) -> ComponentBuiltinFunctionIndex
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<ComponentBuiltinFunctionIndex> for HostCall
impl From<ComponentBuiltinFunctionIndex> for HostCall
Source§fn from(idx: ComponentBuiltinFunctionIndex) -> HostCall
fn from(idx: ComponentBuiltinFunctionIndex) -> HostCall
Converts to this type from the input type.
Source§impl Hash for ComponentBuiltinFunctionIndex
impl Hash for ComponentBuiltinFunctionIndex
Source§impl Ord for ComponentBuiltinFunctionIndex
impl Ord for ComponentBuiltinFunctionIndex
Source§fn cmp(&self, other: &ComponentBuiltinFunctionIndex) -> Ordering
fn cmp(&self, other: &ComponentBuiltinFunctionIndex) -> Ordering
1.21.0 · 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
Source§impl PartialEq for ComponentBuiltinFunctionIndex
impl PartialEq for ComponentBuiltinFunctionIndex
Source§fn eq(&self, other: &ComponentBuiltinFunctionIndex) -> bool
fn eq(&self, other: &ComponentBuiltinFunctionIndex) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for ComponentBuiltinFunctionIndex
impl PartialOrd for ComponentBuiltinFunctionIndex
impl Copy for ComponentBuiltinFunctionIndex
impl Eq for ComponentBuiltinFunctionIndex
impl StructuralPartialEq for ComponentBuiltinFunctionIndex
Auto Trait Implementations§
impl Freeze for ComponentBuiltinFunctionIndex
impl RefUnwindSafe for ComponentBuiltinFunctionIndex
impl Send for ComponentBuiltinFunctionIndex
impl Sync for ComponentBuiltinFunctionIndex
impl Unpin for ComponentBuiltinFunctionIndex
impl UnwindSafe for ComponentBuiltinFunctionIndex
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.