pub struct HotKeyDescription { /* private fields */ }Expand description
A hot key of the developer tools, as the hot keys page lists it: the gesture, what it does and a longer description.
A record upstream: equal when the members are equal.
Implementations§
Source§impl HotKeyDescription
impl HotKeyDescription
Sourcepub fn new(
gesture: impl Into<String>,
brief_description: impl Into<String>,
detailed_description: Option<String>,
) -> Self
pub fn new( gesture: impl Into<String>, brief_description: impl Into<String>, detailed_description: Option<String>, ) -> Self
C# new HotKeyDescription(string Gesture, string BriefDescription, string? DetailedDescription = null).
pub fn gesture(&self) -> String
pub fn brief_description(&self) -> String
pub fn detailed_description(&self) -> Option<String>
Trait Implementations§
Source§impl Clone for HotKeyDescription
impl Clone for HotKeyDescription
Source§impl Debug for HotKeyDescription
impl Debug for HotKeyDescription
impl Eq for HotKeyDescription
Source§impl MarkupTyped for HotKeyDescription
impl MarkupTyped for HotKeyDescription
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for HotKeyDescription
impl PartialEq for HotKeyDescription
impl StructuralPartialEq for HotKeyDescription
Auto Trait Implementations§
impl Freeze for HotKeyDescription
impl RefUnwindSafe for HotKeyDescription
impl Send for HotKeyDescription
impl Sync for HotKeyDescription
impl Unpin for HotKeyDescription
impl UnsafeUnpin for HotKeyDescription
impl UnwindSafe for HotKeyDescription
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more