Struct rdiff::Insert [] [src]

pub struct Insert {
    // some fields omitted
}

Represents an operation to insert bytes at a particular position into a file

Methods

impl Insert
[src]

fn get_position(&self) -> usize

Gets the byte position of this insert operation in its file

fn get_data(&self) -> &Vec<u8>

Gets the data this insert operation will insert

Trait Implementations

impl Debug for Insert
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

Derived Implementations

impl PartialEq for Insert
[src]

fn eq(&self, __arg_0: &Insert) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Insert) -> bool

This method tests for !=.