pub struct SettingsMenuQuickSelect {
pub number: u8,
}Expand description
Quick select option by number (1-9)
Fields§
§number: u8The quick select number (1-9)
Implementations§
Trait Implementations§
Source§impl Clone for SettingsMenuQuickSelect
impl Clone for SettingsMenuQuickSelect
Source§fn clone(&self) -> SettingsMenuQuickSelect
fn clone(&self) -> SettingsMenuQuickSelect
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandTrait for SettingsMenuQuickSelect
impl CommandTrait for SettingsMenuQuickSelect
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Unique identifier for this command (e.g.,
cursor_up, enter_insert_mode)Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Human-readable description for help/documentation
Source§fn execute(&self, _ctx: &mut ExecutionContext<'_>) -> CommandResult
fn execute(&self, _ctx: &mut ExecutionContext<'_>) -> CommandResult
Execute the command on the given buffer Read more
Source§fn valid_modes(&self) -> Option<Vec<ModeState>>
fn valid_modes(&self) -> Option<Vec<ModeState>>
Optional: which modes this command is valid in (None = all modes)
Source§fn supports_count(&self) -> bool
fn supports_count(&self) -> bool
Optional: does this command support repeat count?
Source§fn is_jump(&self) -> bool
fn is_jump(&self) -> bool
Whether this command is a “jump” that should be recorded in the jump list Read more
Source§fn is_text_modifying(&self) -> bool
fn is_text_modifying(&self) -> bool
Whether this command modifies buffer text content Read more
Source§impl Debug for SettingsMenuQuickSelect
impl Debug for SettingsMenuQuickSelect
Source§impl Event for SettingsMenuQuickSelect
impl Event for SettingsMenuQuickSelect
impl Copy for SettingsMenuQuickSelect
Auto Trait Implementations§
impl Freeze for SettingsMenuQuickSelect
impl RefUnwindSafe for SettingsMenuQuickSelect
impl Send for SettingsMenuQuickSelect
impl Sync for SettingsMenuQuickSelect
impl Unpin for SettingsMenuQuickSelect
impl UnwindSafe for SettingsMenuQuickSelect
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