Enum wac_parser::ResultList
source · pub enum ResultList<'a> {
Empty,
Scalar(Type<'a>),
Named(Vec<NamedType<'a>>),
}Expand description
Represents a result list in the AST.
Variants§
Empty
The function has no results.
Scalar(Type<'a>)
The function returns a scalar value.
Named(Vec<NamedType<'a>>)
The function has named results.
Trait Implementations§
source§impl<'a> Clone for ResultList<'a>
impl<'a> Clone for ResultList<'a>
source§fn clone(&self) -> ResultList<'a>
fn clone(&self) -> ResultList<'a>
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<'a> Debug for ResultList<'a>
impl<'a> Debug for ResultList<'a>
Auto Trait Implementations§
impl<'a> Freeze for ResultList<'a>
impl<'a> RefUnwindSafe for ResultList<'a>
impl<'a> Send for ResultList<'a>
impl<'a> Sync for ResultList<'a>
impl<'a> Unpin for ResultList<'a>
impl<'a> UnwindSafe for ResultList<'a>
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