pub enum ContextPackFormat {
Json,
Markdown,
PromptText,
Toon,
}Variants§
Implementations§
Source§impl ContextPackFormat
impl ContextPackFormat
pub fn render(&self, pack: &ContextPack) -> Result<String>
Trait Implementations§
Source§impl Clone for ContextPackFormat
impl Clone for ContextPackFormat
Source§fn clone(&self) -> ContextPackFormat
fn clone(&self) -> ContextPackFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ContextPackFormat
Source§impl Debug for ContextPackFormat
impl Debug for ContextPackFormat
impl Eq for ContextPackFormat
Source§impl PartialEq for ContextPackFormat
impl PartialEq for ContextPackFormat
Source§fn eq(&self, other: &ContextPackFormat) -> bool
fn eq(&self, other: &ContextPackFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContextPackFormat
Source§impl ValueEnum for ContextPackFormat
impl ValueEnum for ContextPackFormat
Auto Trait Implementations§
impl Freeze for ContextPackFormat
impl RefUnwindSafe for ContextPackFormat
impl Send for ContextPackFormat
impl Sync for ContextPackFormat
impl Unpin for ContextPackFormat
impl UnsafeUnpin for ContextPackFormat
impl UnwindSafe for ContextPackFormat
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