enum AssemblerPass1Or2Output<'a> {
Pass1Failed(Result<OneOrMore<Rich<'a, Token>>, AssemblerFailure>),
Pass2Failed(AssemblerFailure),
Success(Vec<Rich<'a, Token>>, OutputOptions, Pass2Output<'a>),
}
Expand description
Describes the result of running the first (and possibly the second) pass of the assembler.
Variants§
Pass1Failed(Result<OneOrMore<Rich<'a, Token>>, AssemblerFailure>)
Pass2Failed(AssemblerFailure)
Success(Vec<Rich<'a, Token>>, OutputOptions, Pass2Output<'a>)
Trait Implementations§
Source§impl<'a> Debug for AssemblerPass1Or2Output<'a>
impl<'a> Debug for AssemblerPass1Or2Output<'a>
Source§impl<'a> PartialEq for AssemblerPass1Or2Output<'a>
impl<'a> PartialEq for AssemblerPass1Or2Output<'a>
impl<'a> Eq for AssemblerPass1Or2Output<'a>
impl<'a> StructuralPartialEq for AssemblerPass1Or2Output<'a>
Auto Trait Implementations§
impl<'a> Freeze for AssemblerPass1Or2Output<'a>
impl<'a> !RefUnwindSafe for AssemblerPass1Or2Output<'a>
impl<'a> Send for AssemblerPass1Or2Output<'a>
impl<'a> Sync for AssemblerPass1Or2Output<'a>
impl<'a> Unpin for AssemblerPass1Or2Output<'a>
impl<'a> !UnwindSafe for AssemblerPass1Or2Output<'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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.