pub enum CommandTarget {
Widget {
window_id: WindowId,
widget_id: WidgetId,
},
FocusedWidget(WindowId),
Window(WindowId),
Application,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CommandTarget
impl Clone for CommandTarget
impl Copy for CommandTarget
Source§impl Debug for CommandTarget
impl Debug for CommandTarget
impl Eq for CommandTarget
Source§impl Hash for CommandTarget
impl Hash for CommandTarget
Source§impl PartialEq for CommandTarget
impl PartialEq for CommandTarget
impl StructuralPartialEq for CommandTarget
Auto Trait Implementations§
impl Freeze for CommandTarget
impl RefUnwindSafe for CommandTarget
impl Send for CommandTarget
impl Sync for CommandTarget
impl Unpin for CommandTarget
impl UnsafeUnpin for CommandTarget
impl UnwindSafe for CommandTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.