pub enum OutputRedirect {
Truncate(Expr),
Append(Expr),
Pipe(Expr),
}Expand description
Output redirection for print/printf
Variants§
Trait Implementations§
Source§impl Clone for OutputRedirect
impl Clone for OutputRedirect
Source§fn clone(&self) -> OutputRedirect
fn clone(&self) -> OutputRedirect
Returns a duplicate of the value. Read more
1.0.0 · 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 OutputRedirect
impl RefUnwindSafe for OutputRedirect
impl Send for OutputRedirect
impl Sync for OutputRedirect
impl Unpin for OutputRedirect
impl UnwindSafe for OutputRedirect
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