pub enum PromptSource {
Inline,
File(String),
}Expand description
How a prompt’s text was declared.
Variants§
Trait Implementations§
Source§impl Clone for PromptSource
impl Clone for PromptSource
Source§fn clone(&self) -> PromptSource
fn clone(&self) -> PromptSource
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 moreSource§impl Debug for PromptSource
impl Debug for PromptSource
impl Eq for PromptSource
Source§impl PartialEq for PromptSource
impl PartialEq for PromptSource
impl StructuralPartialEq for PromptSource
Auto Trait Implementations§
impl Freeze for PromptSource
impl RefUnwindSafe for PromptSource
impl Send for PromptSource
impl Sync for PromptSource
impl Unpin for PromptSource
impl UnsafeUnpin for PromptSource
impl UnwindSafe for PromptSource
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