pub struct Store<'a> { /* private fields */ }
Implementations§
source§impl<'a> Store<'a>
impl<'a> Store<'a>
pub fn new<S: Into<Cow<'a, str>>>( name: S, hint: S, help: S, type: S, optional: bool, position: bool ) -> Self
pub fn name(&self) -> Cow<'a, str>
pub fn hint(&self) -> Cow<'a, str>
pub fn help(&self) -> Cow<'a, str>
pub fn optional(&self) -> bool
pub fn position(&self) -> bool
pub fn type(&self) -> Cow<'a, str>
pub fn set_name<S: Into<Cow<'a, str>>>(&mut self, name: S) -> &mut Self
pub fn set_hint<S: Into<Cow<'a, str>>>(&mut self, hint: S) -> &mut Self
pub fn set_help<S: Into<Cow<'a, str>>>(&mut self, help: S) -> &mut Self
pub fn set_optional(&mut self, optional: bool) -> &mut Self
pub fn set_position(&mut self, position: bool) -> &mut Self
pub fn set_type<S: Into<Cow<'a, str>>>(&mut self, type_name: S) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Store<'a>
impl<'a> Send for Store<'a>
impl<'a> Sync for Store<'a>
impl<'a> Unpin for Store<'a>
impl<'a> UnwindSafe for Store<'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