pub enum GetlineInput {
File(Box<Expr>),
Pipe(Box<Expr>),
}Expand description
Input source for getline
Variants§
Trait Implementations§
Source§impl Clone for GetlineInput
impl Clone for GetlineInput
Source§fn clone(&self) -> GetlineInput
fn clone(&self) -> GetlineInput
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 GetlineInput
impl RefUnwindSafe for GetlineInput
impl Send for GetlineInput
impl Sync for GetlineInput
impl Unpin for GetlineInput
impl UnwindSafe for GetlineInput
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