ai::hook

Trait PatchDiff

Source
pub trait PatchDiff {
    // Required method
    fn to_patch(&self, max_token_count: usize, model: Model) -> Result<String>;
}

Required Methods§

Source

fn to_patch(&self, max_token_count: usize, model: Model) -> Result<String>

Implementations on Foreign Types§

Source§

impl PatchDiff for Diff<'_>

Source§

fn to_patch(&self, max_tokens: usize, model: Model) -> Result<String>

Implementors§