Trait smdiff_merger::MergeOp

source ·
pub trait MergeOp: Clone + Sized {
    // Required methods
    fn skip(&mut self, amt: u32);
    fn trunc(&mut self, amt: u32);
}

Required Methods§

source

fn skip(&mut self, amt: u32)

Shorten the ‘front’ of the instruction

source

fn trunc(&mut self, amt: u32)

Truncate off the ‘back’ of the instruction

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl MergeOp for Copy

source§

fn skip(&mut self, amt: u32)

source§

fn trunc(&mut self, amt: u32)

source§

impl MergeOp for Run

source§

fn skip(&mut self, amt: u32)

source§

fn trunc(&mut self, amt: u32)

source§

impl MergeOp for Add

source§

fn skip(&mut self, amt: u32)

source§

fn trunc(&mut self, amt: u32)

source§

impl MergeOp for Op

source§

fn skip(&mut self, amt: u32)

source§

fn trunc(&mut self, amt: u32)

Implementors§