pub enum SExpressionMarker {
Module,
Func,
Import,
Export,
Memory,
Table,
Global,
Type,
Component,
}Expand description
Small vocabulary of S-expression markers used by WebAssembly text.
Variants§
Module
Module marker.
Func
Function marker.
Import
Import marker.
Export
Export marker.
Memory
Memory marker.
Table
Table marker.
Global
Global marker.
Type
Type marker.
Component
Component marker.
Implementations§
Trait Implementations§
Source§impl Clone for SExpressionMarker
impl Clone for SExpressionMarker
Source§fn clone(&self) -> SExpressionMarker
fn clone(&self) -> SExpressionMarker
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 SExpressionMarker
impl Debug for SExpressionMarker
Source§impl Default for SExpressionMarker
impl Default for SExpressionMarker
Source§fn default() -> SExpressionMarker
fn default() -> SExpressionMarker
Returns the “default value” for a type. Read more
Source§impl Display for SExpressionMarker
impl Display for SExpressionMarker
Source§impl FromStr for SExpressionMarker
impl FromStr for SExpressionMarker
Source§impl Hash for SExpressionMarker
impl Hash for SExpressionMarker
Source§impl Ord for SExpressionMarker
impl Ord for SExpressionMarker
Source§fn cmp(&self, other: &SExpressionMarker) -> Ordering
fn cmp(&self, other: &SExpressionMarker) -> 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
Source§impl PartialEq for SExpressionMarker
impl PartialEq for SExpressionMarker
Source§fn eq(&self, other: &SExpressionMarker) -> bool
fn eq(&self, other: &SExpressionMarker) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SExpressionMarker
impl PartialOrd for SExpressionMarker
impl Copy for SExpressionMarker
impl Eq for SExpressionMarker
impl StructuralPartialEq for SExpressionMarker
Auto Trait Implementations§
impl Freeze for SExpressionMarker
impl RefUnwindSafe for SExpressionMarker
impl Send for SExpressionMarker
impl Sync for SExpressionMarker
impl Unpin for SExpressionMarker
impl UnsafeUnpin for SExpressionMarker
impl UnwindSafe for SExpressionMarker
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