pub struct OptRef<'a> { /* private fields */ }Expand description
Handle returned by Cli::opt and friends for optional settings on the same line.
Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for OptRef<'a>
impl<'a> Freeze for OptRef<'a>
impl<'a> RefUnwindSafe for OptRef<'a>
impl<'a> Send for OptRef<'a>
impl<'a> Sync for OptRef<'a>
impl<'a> Unpin for OptRef<'a>
impl<'a> UnsafeUnpin for OptRef<'a>
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