pub struct SubcommandPath<'a> { /* private fields */ }Implementations§
Source§impl<'a> SubcommandPath<'a>
impl<'a> SubcommandPath<'a>
pub const fn new(item: SubcommandPathItem<'a>) -> SubcommandPath<'a>
pub const fn chain(&'a self, item: SubcommandPathItem<'a>) -> Self
pub fn iter<'s>(&'s self) -> impl Iterator<Item = &'s SubcommandPathItem<'a>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SubcommandPath<'a>
impl<'a> RefUnwindSafe for SubcommandPath<'a>
impl<'a> Send for SubcommandPath<'a>
impl<'a> Sync for SubcommandPath<'a>
impl<'a> Unpin for SubcommandPath<'a>
impl<'a> UnsafeUnpin for SubcommandPath<'a>
impl<'a> UnwindSafe for SubcommandPath<'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