pub struct AppInfo<'a> {
pub name: &'a str,
pub version: &'a str,
pub about: &'a str,
pub long_about: &'a str,
pub commands: &'a [Command],
pub globals: &'a [Flag],
}Expand description
Everything the renderer needs to know about the app itself.
Fields§
§name: &'a str§version: &'a str§about: &'a str§long_about: &'a str§commands: &'a [Command]§globals: &'a [Flag]Global flags available on every command.
Auto Trait Implementations§
impl<'a> Forget for AppInfo<'a>
impl<'a> Freeze for AppInfo<'a>
impl<'a> Move for AppInfo<'a>
impl<'a> RefUnwindSafe for AppInfo<'a>
impl<'a> Send for AppInfo<'a>
impl<'a> Sync for AppInfo<'a>
impl<'a> Unpin for AppInfo<'a>
impl<'a> UnsafeUnpin for AppInfo<'a>
impl<'a> UnwindSafe for AppInfo<'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