1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
pub mod diffable_impls; pub mod edit; mod lcs; pub mod same; mod twodvec; pub trait Diffable<'a> { type Diff: 'a; fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self>; } pub trait Same { fn same(&self, other: &Self) -> bool; } #[cfg(feature = "derive")] #[doc(hidden)] pub use diffus_derive::*;