pub enum LiftLowerAbi {
Sync,
AsyncCallback,
AsyncStackful,
}
Expand description
Possible lift/lower ABI choices supported when mangling names.
Variants§
Sync
Both imports and exports will use the synchronous ABI.
AsyncCallback
Both imports and exports will use the async ABI (with a callback for each export).
AsyncStackful
Both imports and exports will use the async ABI (with no callbacks for exports).
Implementations§
Source§impl LiftLowerAbi
impl LiftLowerAbi
Sourcepub fn import_variant(self) -> AbiVariant
pub fn import_variant(self) -> AbiVariant
Get the import AbiVariant
corresponding to this LiftLowerAbi
Sourcepub fn export_variant(self) -> AbiVariant
pub fn export_variant(self) -> AbiVariant
Get the export AbiVariant
corresponding to this LiftLowerAbi
Trait Implementations§
Source§impl Clone for LiftLowerAbi
impl Clone for LiftLowerAbi
Source§fn clone(&self) -> LiftLowerAbi
fn clone(&self) -> LiftLowerAbi
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 Debug for LiftLowerAbi
impl Debug for LiftLowerAbi
Source§impl Hash for LiftLowerAbi
impl Hash for LiftLowerAbi
Source§impl PartialEq for LiftLowerAbi
impl PartialEq for LiftLowerAbi
impl Copy for LiftLowerAbi
impl Eq for LiftLowerAbi
impl StructuralPartialEq for LiftLowerAbi
Auto Trait Implementations§
impl Freeze for LiftLowerAbi
impl RefUnwindSafe for LiftLowerAbi
impl Send for LiftLowerAbi
impl Sync for LiftLowerAbi
impl Unpin for LiftLowerAbi
impl UnwindSafe for LiftLowerAbi
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.