Remove unused multi_buffer::FromAnchor trait

This commit is contained in:
Max Brunsfeld committed 2021-12-22 13:27:43 -08:00
1 parent 1485a4f47b
commit 4be5dcff9e
1 file changed
-4
-4
View File
@@ -64,10 +64,6 @@ pub trait ToPoint: 'static + fmt::Debug {
fn to_point(&self, snapshot: &MultiBufferSnapshot) -> Point;
}
pub trait FromAnchor: 'static {
fn from_anchor(anchor: &Anchor, snapshot: &MultiBufferSnapshot) -> Self;
}
struct BufferState {
buffer: ModelHandle<Buffer>,
last_version: clock::Global,