pub enum CopyTarget {
Stdin,
Stdout,
File {
filename: String,
},
Program {
command: String,
},
}
Variants§
Trait Implementations§
Source§impl Clone for CopyTarget
impl Clone for CopyTarget
Source§fn clone(&self) -> CopyTarget
fn clone(&self) -> CopyTarget
Returns a copy 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 moreSource§impl Debug for CopyTarget
impl Debug for CopyTarget
Source§impl Display for CopyTarget
impl Display for CopyTarget
Source§impl Hash for CopyTarget
impl Hash for CopyTarget
Source§impl Ord for CopyTarget
impl Ord for CopyTarget
Source§fn cmp(&self, other: &CopyTarget) -> Ordering
fn cmp(&self, other: &CopyTarget) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CopyTarget
impl PartialEq for CopyTarget
Source§impl PartialOrd for CopyTarget
impl PartialOrd for CopyTarget
impl Eq for CopyTarget
impl StructuralPartialEq for CopyTarget
Auto Trait Implementations§
impl Freeze for CopyTarget
impl RefUnwindSafe for CopyTarget
impl Send for CopyTarget
impl Sync for CopyTarget
impl Unpin for CopyTarget
impl UnwindSafe for CopyTarget
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