pub trait ShortcutTriggerExtManual: IsA<ShortcutTrigger> {
// Provided methods
fn compare(&self, trigger2: &impl IsA<ShortcutTrigger>) -> Ordering { ... }
fn equal(&self, trigger2: &impl IsA<ShortcutTrigger>) -> bool { ... }
fn hash(&self) -> u32 { ... }
}
Expand description
Trait containing manually implemented methods of
ShortcutTrigger
.
Provided Methods§
fn compare(&self, trigger2: &impl IsA<ShortcutTrigger>) -> Ordering
fn equal(&self, trigger2: &impl IsA<ShortcutTrigger>) -> bool
fn hash(&self) -> u32
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.