Enum wast::core::CustomPlace
source · [−]pub enum CustomPlace {
BeforeFirst,
Before(CustomPlaceAnchor),
After(CustomPlaceAnchor),
AfterLast,
}
Expand description
Possible locations to place a custom section within a module.
Variants
BeforeFirst
This custom section will appear before the first section in the module.
Before(CustomPlaceAnchor)
This custom section will be placed just before a known section.
After(CustomPlaceAnchor)
This custom section will be placed just after a known section.
AfterLast
This custom section will appear after the last section in the module.
Trait Implementations
sourceimpl Clone for CustomPlace
impl Clone for CustomPlace
sourcefn clone(&self) -> CustomPlace
fn clone(&self) -> CustomPlace
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CustomPlace
impl Debug for CustomPlace
sourceimpl<'a> Parse<'a> for CustomPlace
impl<'a> Parse<'a> for CustomPlace
sourceimpl PartialEq<CustomPlace> for CustomPlace
impl PartialEq<CustomPlace> for CustomPlace
sourcefn eq(&self, other: &CustomPlace) -> bool
fn eq(&self, other: &CustomPlace) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CustomPlace) -> bool
fn ne(&self, other: &CustomPlace) -> bool
This method tests for !=
.
impl Copy for CustomPlace
impl StructuralPartialEq for CustomPlace
Auto Trait Implementations
impl RefUnwindSafe for CustomPlace
impl Send for CustomPlace
impl Sync for CustomPlace
impl Unpin for CustomPlace
impl UnwindSafe for CustomPlace
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more