pub enum Op<A> {
Run(Run),
Copy(Copy),
Add(A),
}
Expand description
Enum for the different types of operations
- Run: Repeat a byte a number of times
- Copy: Copy bytes from a source to the output
- Add: Add bytes to the output
Variants§
Implementations§
Trait Implementations§
impl<A: Eq> Eq for Op<A>
impl<A> StructuralPartialEq for Op<A>
Auto Trait Implementations§
impl<A> Freeze for Op<A>where
A: Freeze,
impl<A> RefUnwindSafe for Op<A>where
A: RefUnwindSafe,
impl<A> Send for Op<A>where
A: Send,
impl<A> Sync for Op<A>where
A: Sync,
impl<A> Unpin for Op<A>where
A: Unpin,
impl<A> UnwindSafe for Op<A>where
A: UnwindSafe,
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