Implement Copy for multibuffer anchors
This commit is contained in:
parent
f71145bb32
commit
718f802157
7 changed files with 26 additions and 34 deletions
|
@ -6,7 +6,7 @@ use std::{
|
|||
};
|
||||
use sum_tree::Bias;
|
||||
|
||||
#[derive(Clone, Eq, PartialEq, Debug, Hash)]
|
||||
#[derive(Clone, Copy, Eq, PartialEq, Debug, Hash)]
|
||||
pub struct Anchor {
|
||||
pub(crate) buffer_id: Option<usize>,
|
||||
pub(crate) excerpt_id: ExcerptId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue