pub struct IcalDriver;Implementations§
Source§impl IcalDriver
impl IcalDriver
Trait Implementations§
Source§impl Default for IcalDriver
impl Default for IcalDriver
Source§impl SutureDriver for IcalDriver
impl SutureDriver for IcalDriver
Source§fn supported_extensions(&self) -> &[&str]
fn supported_extensions(&self) -> &[&str]
File extensions this driver handles (e.g.,
[".json", ".jsonl"]).Source§fn diff(
&self,
base_content: Option<&str>,
new_content: &str,
) -> Result<Vec<SemanticChange>, DriverError>
fn diff( &self, base_content: Option<&str>, new_content: &str, ) -> Result<Vec<SemanticChange>, DriverError>
Parse a file and produce a semantic diff between it and an optional base. Read more
Source§fn format_diff(
&self,
base_content: Option<&str>,
new_content: &str,
) -> Result<String, DriverError>
fn format_diff( &self, base_content: Option<&str>, new_content: &str, ) -> Result<String, DriverError>
Produce a human-readable diff string between two versions of a file. Read more
Source§fn merge(
&self,
base: &str,
ours: &str,
theirs: &str,
) -> Result<Option<String>, DriverError>
fn merge( &self, base: &str, ours: &str, theirs: &str, ) -> Result<Option<String>, DriverError>
Perform a semantic three-way merge. Read more
Auto Trait Implementations§
impl Freeze for IcalDriver
impl RefUnwindSafe for IcalDriver
impl Send for IcalDriver
impl Sync for IcalDriver
impl Unpin for IcalDriver
impl UnsafeUnpin for IcalDriver
impl UnwindSafe for IcalDriver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more