pub type EditorCloneInstance = CloneInstance;Aliased Type§
pub struct EditorCloneInstance {
pub file: PathBuf,
pub start_line: usize,
pub end_line: usize,
pub start_col: usize,
pub end_col: usize,
pub fragment: String,
}Fields§
§file: PathBufPath to the file containing this clone instance.
start_line: usize1-based start line of the clone.
end_line: usize1-based end line of the clone.
start_col: usize0-based start column.
end_col: usize0-based end column.
fragment: StringThe actual source code fragment.