Skip to main content

CloneInstance

Type Alias CloneInstance 

Source
pub type CloneInstance = CloneInstance;

Aliased Type§

pub struct CloneInstance {
    pub file: PathBuf,
    pub start_line: usize,
    pub end_line: usize,
    pub start_col: usize,
    pub end_col: usize,
    pub fragment: String,
}

Fields§

§file: PathBuf

Path to the file containing this clone instance.

§start_line: usize

1-based start line of the clone.

§end_line: usize

1-based end line of the clone.

§start_col: usize

0-based start column.

§end_col: usize

0-based end column.

§fragment: String

The actual source code fragment.