TextConcatenatorTrait

Trait TextConcatenatorTrait 

Source
pub trait TextConcatenatorTrait {
    // Required methods
    fn concatenator_mut(&mut self) -> &mut TextConcatenator;
    fn clear_built(&self);

    // Provided methods
    fn concate_deol(&mut self) -> &mut Self { ... }
    fn concate_seol(&mut self) -> &mut Self { ... }
    fn concate_space(&mut self) -> &mut Self { ... }
    fn concate_comma(&mut self) -> &mut Self { ... }
    fn concate_custom<T>(&mut self, custom: T) -> &mut Self
       where T: AsRef<str> { ... }
}

Required Methods§

Provided Methods§

Source

fn concate_deol(&mut self) -> &mut Self

Source

fn concate_seol(&mut self) -> &mut Self

Source

fn concate_space(&mut self) -> &mut Self

Source

fn concate_comma(&mut self) -> &mut Self

Source

fn concate_custom<T>(&mut self, custom: T) -> &mut Self
where T: AsRef<str>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TextConcatenatorTrait for InstructPrompt

Implementors§