Struct difflib::sequencematcher::Opcode [] [src]

pub struct Opcode {
    pub tag: String,
    pub first_start: usize,
    pub first_end: usize,
    pub second_start: usize,
    pub second_end: usize,
}

Fields

tag: String first_start: usize first_end: usize second_start: usize second_end: usize

Trait Implementations

impl PartialEq for Opcode
[src]

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

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

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

This method tests for !=.

impl Clone for Opcode
[src]

fn clone(&self) -> Opcode

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Opcode
[src]

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

Formats the value using the given formatter.