pub struct FlagRegistry { /* private fields */ }Expand description
Every flagged module/group/command path discovered while pruning a command tree, in registration order.
Populated once, when a Cli mounts a module or group and
resolves cascading feature flags across its tree. Powers flags list/flags info introspection; stored on Middleware
and populated as a side effect of pruning.
Implementations§
Trait Implementations§
Source§impl Clone for FlagRegistry
impl Clone for FlagRegistry
Source§fn clone(&self) -> FlagRegistry
fn clone(&self) -> FlagRegistry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlagRegistry
impl Debug for FlagRegistry
Source§impl Default for FlagRegistry
impl Default for FlagRegistry
Source§fn default() -> FlagRegistry
fn default() -> FlagRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FlagRegistry
impl RefUnwindSafe for FlagRegistry
impl Send for FlagRegistry
impl Sync for FlagRegistry
impl Unpin for FlagRegistry
impl UnsafeUnpin for FlagRegistry
impl UnwindSafe for FlagRegistry
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