pub struct AStr(/* private fields */);
Expand description
A simple wrapper of ARef
<str>.
Implementations§
Trait Implementations§
source§impl<C: ConfigValue + Default> ConfigBuild<C> for AStr
impl<C: ConfigValue + Default> ConfigBuild<C> for AStr
source§impl<C> ConfigBuildInfer<C> for AStrwhere
C: ConfigValue + Default,
impl<C> ConfigBuildInfer<C> for AStrwhere
C: ConfigValue + Default,
source§impl ConfigBuildWith for AStr
impl ConfigBuildWith for AStr
type Output = ConfigBuilderWith<OptConfig, AStr, Placeholder>
fn with_ctor(self, ctor: impl Into<AStr>) -> Self::Output
fn with_name(self, name: impl Into<AStr>) -> Self::Output
fn with_force(self, force: bool) -> Self::Output
fn with_index(self, index: Index) -> Self::Output
fn with_alias(self, alias: Vec<impl Into<AStr>>) -> Self::Output
fn with_hint(self, hint: impl Into<AStr>) -> Self::Output
fn with_help(self, help: impl Into<AStr>) -> Self::Output
fn with_action(self, action: Action) -> Self::Output
fn with_storer(self, storer: ValStorer) -> Self::Output
fn with_initializer(self, initializer: ValInitializer) -> Self::Output
fn with_ignore_alias(self, ignore_alias: bool) -> Self::Output
fn with_ignore_index(self, ignore_index: bool) -> Self::Output
fn with_ignore_name(self, ignore_name: bool) -> Self::Output
fn with_style(self, styles: Vec<Style>) -> Self::Output
source§impl Ord for AStr
impl Ord for AStr
source§impl<'a> PartialEq<&'a str> for AStr
impl<'a> PartialEq<&'a str> for AStr
source§impl PartialEq<String> for AStr
impl PartialEq<String> for AStr
source§impl PartialEq for AStr
impl PartialEq for AStr
source§impl PartialOrd for AStr
impl PartialOrd for AStr
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for AStr
impl StructuralPartialEq for AStr
Auto Trait Implementations§
impl Freeze for AStr
impl RefUnwindSafe for AStr
impl !Send for AStr
impl !Sync for AStr
impl Unpin for AStr
impl UnwindSafe for AStr
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