pub struct OptionsLine<T> {
pub option: char,
pub param: Option<T>,
}Fields§
§option: char§param: Option<T>Trait Implementations§
Source§impl<T: Clone> Clone for OptionsLine<T>
impl<T: Clone> Clone for OptionsLine<T>
Source§fn clone(&self) -> OptionsLine<T>
fn clone(&self) -> OptionsLine<T>
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<T> Freeze for OptionsLine<T>where
T: Freeze,
impl<T> RefUnwindSafe for OptionsLine<T>where
T: RefUnwindSafe,
impl<T> Send for OptionsLine<T>where
T: Send,
impl<T> Sync for OptionsLine<T>where
T: Sync,
impl<T> Unpin for OptionsLine<T>where
T: Unpin,
impl<T> UnwindSafe for OptionsLine<T>where
T: UnwindSafe,
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