pub struct FeedbackCommand { /* private fields */ }Implementations§
Source§impl FeedbackCommand
impl FeedbackCommand
pub fn command(&self) -> Command
pub fn is_enabled(&self) -> bool
pub fn set_enabled(&self, enabled: bool)
pub fn add_handler<F>(&self, handler: F) -> CommandToken
Source§impl FeedbackCommand
impl FeedbackCommand
pub fn is_active(&self) -> bool
pub fn set_active(&self, active: bool)
pub fn localized_title(&self) -> String
pub fn set_localized_title(&self, title: &str)
pub fn localized_short_title(&self) -> String
pub fn set_localized_short_title(&self, title: &str)
Trait Implementations§
Source§impl Clone for FeedbackCommand
impl Clone for FeedbackCommand
Source§fn clone(&self) -> FeedbackCommand
fn clone(&self) -> FeedbackCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FeedbackCommand
impl Debug for FeedbackCommand
Source§impl PartialEq for FeedbackCommand
impl PartialEq for FeedbackCommand
Source§fn eq(&self, other: &FeedbackCommand) -> bool
fn eq(&self, other: &FeedbackCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FeedbackCommand
impl Eq for FeedbackCommand
impl StructuralPartialEq for FeedbackCommand
Auto Trait Implementations§
impl Freeze for FeedbackCommand
impl RefUnwindSafe for FeedbackCommand
impl Send for FeedbackCommand
impl Sync for FeedbackCommand
impl Unpin for FeedbackCommand
impl UnsafeUnpin for FeedbackCommand
impl UnwindSafe for FeedbackCommand
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