pub struct uShell<const NC: usize, const FNL: usize, const IML: usize, const HTC: usize, const HME: usize, ERRTYPE: Debug> { /* private fields */ }Implementations§
Source§impl<const NC: usize, const FNL: usize, const IML: usize, const HTC: usize, const HME: usize, ERRTYPE: Debug> uShell<NC, FNL, IML, HTC, HME, ERRTYPE>
impl<const NC: usize, const FNL: usize, const IML: usize, const HTC: usize, const HME: usize, ERRTYPE: Debug> uShell<NC, FNL, IML, HTC, HME, ERRTYPE>
pub fn new( get_commands: fn() -> &'static [(&'static str, &'static str)], get_datatypes: fn() -> &'static str, get_shortcuts: fn() -> &'static str, is_shortcut: fn(&str) -> bool, command_dispatcher: fn(&str) -> Result<(), ERRTYPE>, shortcut_dispatcher: fn(&str) -> Result<(), String<IML>>, prompt: &'static str, ) -> Self
pub fn run(&mut self)
Auto Trait Implementations§
impl<const NC: usize, const FNL: usize, const IML: usize, const HTC: usize, const HME: usize, ERRTYPE> Freeze for uShell<NC, FNL, IML, HTC, HME, ERRTYPE>
impl<const NC: usize, const FNL: usize, const IML: usize, const HTC: usize, const HME: usize, ERRTYPE> RefUnwindSafe for uShell<NC, FNL, IML, HTC, HME, ERRTYPE>
impl<const NC: usize, const FNL: usize, const IML: usize, const HTC: usize, const HME: usize, ERRTYPE> Send for uShell<NC, FNL, IML, HTC, HME, ERRTYPE>
impl<const NC: usize, const FNL: usize, const IML: usize, const HTC: usize, const HME: usize, ERRTYPE> Sync for uShell<NC, FNL, IML, HTC, HME, ERRTYPE>
impl<const NC: usize, const FNL: usize, const IML: usize, const HTC: usize, const HME: usize, ERRTYPE> Unpin for uShell<NC, FNL, IML, HTC, HME, ERRTYPE>
impl<const NC: usize, const FNL: usize, const IML: usize, const HTC: usize, const HME: usize, ERRTYPE> UnwindSafe for uShell<NC, FNL, IML, HTC, HME, ERRTYPE>
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