pub struct ShellVerb<const C: u32> { /* private fields */ }Expand description
Shell-extensible verb witness — const C pinned to
0x0002_0400..=0x0002_FFFF.
Value-level construction is guarded by ShellVerb::try_new, which
checks the const C at invocation time; out-of-range values yield
None. Shell code typically places the construction inside a const
binding so monomorphization fails loudly when the range is violated.
Implementations§
Auto Trait Implementations§
impl<const C: u32> Freeze for ShellVerb<C>
impl<const C: u32> RefUnwindSafe for ShellVerb<C>
impl<const C: u32> Send for ShellVerb<C>
impl<const C: u32> Sync for ShellVerb<C>
impl<const C: u32> Unpin for ShellVerb<C>
impl<const C: u32> UnsafeUnpin for ShellVerb<C>
impl<const C: u32> UnwindSafe for ShellVerb<C>
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