pub struct Help { /* private fields */ }Implementations§
Source§impl Help
impl Help
pub fn new(message: String) -> Help
pub fn with_suggestion(self, suggestion: Suggestion) -> Help
pub fn message(&self) -> &str
pub fn suggestion(&self) -> Option<&Suggestion>
Trait Implementations§
Auto Trait Implementations§
impl Forget for Help
impl Freeze for Help
impl RefUnwindSafe for Help
impl Send for Help
impl Sync for Help
impl Unpin for Help
impl UnsafeUnpin for Help
impl UnwindSafe for Help
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