Enum wast::component::Refinement
source · [−]Expand description
A refinement for a variant case.
Variants
Index(Span, Index<'a>)
The refinement is referenced by index.
Resolved(u32)
The refinement has been resolved to an index into the cases of the variant.
Trait Implementations
sourceimpl<'a> Debug for Refinement<'a>
impl<'a> Debug for Refinement<'a>
sourceimpl From<&'_ Refinement<'_>> for u32
impl From<&'_ Refinement<'_>> for u32
sourcefn from(r: &Refinement<'_>) -> Self
fn from(r: &Refinement<'_>) -> Self
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for Refinement<'a>
impl<'a> Send for Refinement<'a>
impl<'a> Sync for Refinement<'a>
impl<'a> Unpin for Refinement<'a>
impl<'a> UnwindSafe for Refinement<'a>
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