pub struct NameSpaceView<'me> { /* private fields */ }Implementations§
Source§impl NameSpaceView<'_>
impl NameSpaceView<'_>
pub fn is_root(&self) -> bool
pub fn parent(&self) -> NameSpaceView<'_>
pub fn display(&self) -> String
pub fn as_func_str(&self) -> String
pub fn flag_func_name<S>(&self, name: S) -> String
pub fn global_flag_func_name(&self) -> String
pub fn cmd_func_name<S>(&self, name: S) -> String
Trait Implementations§
Source§impl<'me> Clone for NameSpaceView<'me>
impl<'me> Clone for NameSpaceView<'me>
Source§fn clone(&self) -> NameSpaceView<'me>
fn clone(&self) -> NameSpaceView<'me>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'me> Debug for NameSpaceView<'me>
impl<'me> Debug for NameSpaceView<'me>
Source§impl Display for NameSpaceView<'_>
impl Display for NameSpaceView<'_>
Source§impl From<NameSpaceView<'_>> for NameSpace
impl From<NameSpaceView<'_>> for NameSpace
Source§fn from(value: NameSpaceView<'_>) -> Self
fn from(value: NameSpaceView<'_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'me> Freeze for NameSpaceView<'me>
impl<'me> RefUnwindSafe for NameSpaceView<'me>
impl<'me> Send for NameSpaceView<'me>
impl<'me> Sync for NameSpaceView<'me>
impl<'me> Unpin for NameSpaceView<'me>
impl<'me> UnwindSafe for NameSpaceView<'me>
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