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
Auto Trait Implementations§
impl Freeze for GetlineInput
impl RefUnwindSafe for GetlineInput
impl Send for GetlineInput
impl Sync for GetlineInput
impl Unpin for GetlineInput
impl UnsafeUnpin 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