pub enum ReplOutput {
Driver,
String,
}Expand description
Where a REPL run sends its rendered result.
Variants§
Driver
Write the result through the configured line driver.
String
Return the rendered result as a string value.
Trait Implementations§
Source§impl Clone for ReplOutput
impl Clone for ReplOutput
Source§fn clone(&self) -> ReplOutput
fn clone(&self) -> ReplOutput
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 moreAuto Trait Implementations§
impl Freeze for ReplOutput
impl RefUnwindSafe for ReplOutput
impl Send for ReplOutput
impl Sync for ReplOutput
impl Unpin for ReplOutput
impl UnsafeUnpin for ReplOutput
impl UnwindSafe for ReplOutput
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