Struct cpython::argparse::ParamDescription
source · [−]Expand description
Description of a python parameter; used for parse_args()
.
Fields
name: &'a str
The name of the parameter.
is_optional: bool
Whether the parameter is optional.
Implementations
sourceimpl<'a> ParamDescription<'a>
impl<'a> ParamDescription<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ParamDescription<'a>
impl<'a> Send for ParamDescription<'a>
impl<'a> Sync for ParamDescription<'a>
impl<'a> Unpin for ParamDescription<'a>
impl<'a> UnwindSafe for ParamDescription<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more