pub struct LolWutOptions { /* private fields */ }
Expand description
Options for the lolwut
command
Implementations§
Source§impl LolWutOptions
impl LolWutOptions
pub fn version(self, version: usize) -> Self
pub fn optional_arg<A: Into<CommandArg>>(self, arg: A) -> Self
Trait Implementations§
Source§impl Default for LolWutOptions
impl Default for LolWutOptions
Source§fn default() -> LolWutOptions
fn default() -> LolWutOptions
Returns the “default value” for a type. Read more
Source§impl IntoArgs for LolWutOptions
impl IntoArgs for LolWutOptions
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations§
impl Freeze for LolWutOptions
impl RefUnwindSafe for LolWutOptions
impl Send for LolWutOptions
impl Sync for LolWutOptions
impl Unpin for LolWutOptions
impl UnwindSafe for LolWutOptions
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