Enum ControlHandle

Source
pub enum ControlHandle {
    NoHandle,
    Hwnd(HWND),
    Menu(HMENU, HMENU),
    PopMenu(HWND, HMENU),
    MenuItem(HMENU, u32),
    Notice(HWND, u32),
    Timer(HWND, u32),
    SystemTray(HWND),
}
Expand description

Inner handle type used internally by each control.

Variants§

§

NoHandle

§

Hwnd(HWND)

§

Menu(HMENU, HMENU)

(Parent menu / Menu). Parent menu must be there as WINAPI does not have any function to fetch the parent

§

PopMenu(HWND, HMENU)

(Parent window / Menu).

§

MenuItem(HMENU, u32)

(Parent menu / Unique ID).

§

Notice(HWND, u32)

Notice control

§

Timer(HWND, u32)

Timer control

§

SystemTray(HWND)

System tray control

Implementations§

Source§

impl ControlHandle

Source

pub fn destroy(&mut self)

Destroy the underlying object and set the handle to NoHandle Can be used to “reset” a UI component

Source

pub fn blank(&self) -> bool

Source

pub fn hwnd(&self) -> Option<HWND>

Source

pub fn hmenu(&self) -> Option<(HMENU, HMENU)>

Source

pub fn pop_hmenu(&self) -> Option<(HWND, HMENU)>

Source

pub fn hmenu_item(&self) -> Option<(HMENU, u32)>

Source

pub fn timer(&self) -> Option<(HWND, u32)>

Source

pub fn notice(&self) -> Option<(HWND, u32)>

Source

pub fn tray(&self) -> Option<HWND>

Trait Implementations§

Source§

impl Clone for ControlHandle

Source§

fn clone(&self) -> ControlHandle

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ControlHandle

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ControlHandle

Source§

fn default() -> ControlHandle

Returns the “default value” for a type. Read more
Source§

impl From<&AnimationTimer> for ControlHandle

Source§

fn from(control: &AnimationTimer) -> Self

Converts to this type from the input type.
Source§

impl From<&Button> for ControlHandle

Source§

fn from(control: &Button) -> Self

Converts to this type from the input type.
Source§

impl From<&CheckBox> for ControlHandle

Source§

fn from(control: &CheckBox) -> Self

Converts to this type from the input type.
Source§

impl<D: Display + Default> From<&ComboBox<D>> for ControlHandle

Source§

fn from(control: &ComboBox<D>) -> Self

Converts to this type from the input type.
Source§

impl From<&ControlHandle> for ControlHandle

Source§

fn from(control: &ControlHandle) -> Self

Converts to this type from the input type.
Source§

impl From<&DatePicker> for ControlHandle

Source§

fn from(control: &DatePicker) -> Self

Converts to this type from the input type.
Source§

impl From<&ExternCanvas> for ControlHandle

Source§

fn from(control: &ExternCanvas) -> Self

Converts to this type from the input type.
Source§

impl From<&Frame> for ControlHandle

Source§

fn from(control: &Frame) -> Self

Converts to this type from the input type.
Source§

impl From<&ImageFrame> for ControlHandle

Source§

fn from(control: &ImageFrame) -> Self

Converts to this type from the input type.
Source§

impl From<&Label> for ControlHandle

Source§

fn from(control: &Label) -> Self

Converts to this type from the input type.
Source§

impl<D: Display + Default> From<&ListBox<D>> for ControlHandle

Source§

fn from(control: &ListBox<D>) -> Self

Converts to this type from the input type.
Source§

impl From<&ListView> for ControlHandle

Source§

fn from(control: &ListView) -> Self

Converts to this type from the input type.
Source§

impl From<&Menu> for ControlHandle

Source§

fn from(control: &Menu) -> Self

Converts to this type from the input type.
Source§

impl From<&MenuItem> for ControlHandle

Source§

fn from(control: &MenuItem) -> Self

Converts to this type from the input type.
Source§

impl From<&MenuSeparator> for ControlHandle

Source§

fn from(control: &MenuSeparator) -> Self

Converts to this type from the input type.
Source§

impl From<&MessageWindow> for ControlHandle

Source§

fn from(control: &MessageWindow) -> Self

Converts to this type from the input type.
Source§

impl From<&Notice> for ControlHandle

Source§

fn from(control: &Notice) -> Self

Converts to this type from the input type.
Source§

impl From<&NumberSelect> for ControlHandle

Source§

fn from(control: &NumberSelect) -> Self

Converts to this type from the input type.
Source§

impl From<&Plotters> for ControlHandle

Source§

fn from(control: &Plotters) -> Self

Converts to this type from the input type.
Source§

impl From<&ProgressBar> for ControlHandle

Source§

fn from(control: &ProgressBar) -> Self

Converts to this type from the input type.
Source§

impl From<&RadioButton> for ControlHandle

Source§

fn from(control: &RadioButton) -> Self

Converts to this type from the input type.
Source§

impl From<&RichLabel> for ControlHandle

Source§

fn from(control: &RichLabel) -> Self

Converts to this type from the input type.
Source§

impl From<&RichTextBox> for ControlHandle

Source§

fn from(control: &RichTextBox) -> Self

Converts to this type from the input type.
Source§

impl From<&ScrollBar> for ControlHandle

Source§

fn from(control: &ScrollBar) -> Self

Converts to this type from the input type.
Source§

impl From<&StatusBar> for ControlHandle

Source§

fn from(control: &StatusBar) -> Self

Converts to this type from the input type.
Source§

impl From<&Tab> for ControlHandle

Source§

fn from(control: &Tab) -> Self

Converts to this type from the input type.
Source§

impl From<&TabsContainer> for ControlHandle

Source§

fn from(control: &TabsContainer) -> Self

Converts to this type from the input type.
Source§

impl From<&TextBox> for ControlHandle

Source§

fn from(control: &TextBox) -> Self

Converts to this type from the input type.
Source§

impl From<&TextInput> for ControlHandle

Source§

fn from(control: &TextInput) -> Self

Converts to this type from the input type.
Source§

impl From<&Timer> for ControlHandle

Source§

fn from(control: &Timer) -> Self

Converts to this type from the input type.
Source§

impl From<&Tooltip> for ControlHandle

Source§

fn from(control: &Tooltip) -> Self

Converts to this type from the input type.
Source§

impl From<&TrackBar> for ControlHandle

Source§

fn from(control: &TrackBar) -> Self

Converts to this type from the input type.
Source§

impl From<&TrayNotification> for ControlHandle

Source§

fn from(control: &TrayNotification) -> Self

Converts to this type from the input type.
Source§

impl From<&TreeView> for ControlHandle

Source§

fn from(control: &TreeView) -> Self

Converts to this type from the input type.
Source§

impl From<&Window> for ControlHandle

Source§

fn from(control: &Window) -> Self

Converts to this type from the input type.
Source§

impl From<&mut AnimationTimer> for ControlHandle

Source§

fn from(control: &mut AnimationTimer) -> Self

Converts to this type from the input type.
Source§

impl From<&mut Button> for ControlHandle

Source§

fn from(control: &mut Button) -> Self

Converts to this type from the input type.
Source§

impl From<&mut CheckBox> for ControlHandle

Source§

fn from(control: &mut CheckBox) -> Self

Converts to this type from the input type.
Source§

impl From<&mut DatePicker> for ControlHandle

Source§

fn from(control: &mut DatePicker) -> Self

Converts to this type from the input type.
Source§

impl From<&mut ExternCanvas> for ControlHandle

Source§

fn from(control: &mut ExternCanvas) -> Self

Converts to this type from the input type.
Source§

impl From<&mut Frame> for ControlHandle

Source§

fn from(control: &mut Frame) -> Self

Converts to this type from the input type.
Source§

impl From<&mut ImageFrame> for ControlHandle

Source§

fn from(control: &mut ImageFrame) -> Self

Converts to this type from the input type.
Source§

impl From<&mut Label> for ControlHandle

Source§

fn from(control: &mut Label) -> Self

Converts to this type from the input type.
Source§

impl From<&mut ListView> for ControlHandle

Source§

fn from(control: &mut ListView) -> Self

Converts to this type from the input type.
Source§

impl From<&mut Menu> for ControlHandle

Source§

fn from(control: &mut Menu) -> Self

Converts to this type from the input type.
Source§

impl From<&mut MenuItem> for ControlHandle

Source§

fn from(control: &mut MenuItem) -> Self

Converts to this type from the input type.
Source§

impl From<&mut MenuSeparator> for ControlHandle

Source§

fn from(control: &mut MenuSeparator) -> Self

Converts to this type from the input type.
Source§

impl From<&mut MessageWindow> for ControlHandle

Source§

fn from(control: &mut MessageWindow) -> Self

Converts to this type from the input type.
Source§

impl From<&mut Notice> for ControlHandle

Source§

fn from(control: &mut Notice) -> Self

Converts to this type from the input type.
Source§

impl From<&mut NumberSelect> for ControlHandle

Source§

fn from(control: &mut NumberSelect) -> Self

Converts to this type from the input type.
Source§

impl From<&mut Plotters> for ControlHandle

Source§

fn from(control: &mut Plotters) -> Self

Converts to this type from the input type.
Source§

impl From<&mut ProgressBar> for ControlHandle

Source§

fn from(control: &mut ProgressBar) -> Self

Converts to this type from the input type.
Source§

impl From<&mut RadioButton> for ControlHandle

Source§

fn from(control: &mut RadioButton) -> Self

Converts to this type from the input type.
Source§

impl From<&mut RichLabel> for ControlHandle

Source§

fn from(control: &mut RichLabel) -> Self

Converts to this type from the input type.
Source§

impl From<&mut RichTextBox> for ControlHandle

Source§

fn from(control: &mut RichTextBox) -> Self

Converts to this type from the input type.
Source§

impl From<&mut ScrollBar> for ControlHandle

Source§

fn from(control: &mut ScrollBar) -> Self

Converts to this type from the input type.
Source§

impl From<&mut StatusBar> for ControlHandle

Source§

fn from(control: &mut StatusBar) -> Self

Converts to this type from the input type.
Source§

impl From<&mut Tab> for ControlHandle

Source§

fn from(control: &mut Tab) -> Self

Converts to this type from the input type.
Source§

impl From<&mut TabsContainer> for ControlHandle

Source§

fn from(control: &mut TabsContainer) -> Self

Converts to this type from the input type.
Source§

impl From<&mut TextBox> for ControlHandle

Source§

fn from(control: &mut TextBox) -> Self

Converts to this type from the input type.
Source§

impl From<&mut TextInput> for ControlHandle

Source§

fn from(control: &mut TextInput) -> Self

Converts to this type from the input type.
Source§

impl From<&mut Timer> for ControlHandle

Source§

fn from(control: &mut Timer) -> Self

Converts to this type from the input type.
Source§

impl From<&mut Tooltip> for ControlHandle

Source§

fn from(control: &mut Tooltip) -> Self

Converts to this type from the input type.
Source§

impl From<&mut TrackBar> for ControlHandle

Source§

fn from(control: &mut TrackBar) -> Self

Converts to this type from the input type.
Source§

impl From<&mut TrayNotification> for ControlHandle

Source§

fn from(control: &mut TrayNotification) -> Self

Converts to this type from the input type.
Source§

impl From<&mut TreeView> for ControlHandle

Source§

fn from(control: &mut TreeView) -> Self

Converts to this type from the input type.
Source§

impl From<&mut Window> for ControlHandle

Source§

fn from(control: &mut Window) -> Self

Converts to this type from the input type.
Source§

impl PartialEq<AnimationTimer> for ControlHandle

Source§

fn eq(&self, other: &AnimationTimer) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Button> for ControlHandle

Source§

fn eq(&self, other: &Button) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<CheckBox> for ControlHandle

Source§

fn eq(&self, other: &CheckBox) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<D: Display + Default> PartialEq<ComboBox<D>> for ControlHandle

Source§

fn eq(&self, other: &ComboBox<D>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for AnimationTimer

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for Button

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for CheckBox

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<D: Display + Default> PartialEq<ControlHandle> for ComboBox<D>

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for DatePicker

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for ExternCanvas

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for Frame

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for ImageFrame

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for Label

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<D: Display + Default> PartialEq<ControlHandle> for ListBox<D>

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for ListView

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for Menu

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for MenuItem

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for MenuSeparator

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for MessageWindow

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for Notice

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for NumberSelect

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for Plotters

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for ProgressBar

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for RadioButton

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for RichLabel

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for RichTextBox

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for ScrollBar

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for StatusBar

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for Tab

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for TabsContainer

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for TextBox

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for TextInput

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for Timer

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for Tooltip

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for TrackBar

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for TrayNotification

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for TreeView

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ControlHandle> for Window

Source§

fn eq(&self, other: &ControlHandle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<DatePicker> for ControlHandle

Source§

fn eq(&self, other: &DatePicker) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ExternCanvas> for ControlHandle

Source§

fn eq(&self, other: &ExternCanvas) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Frame> for ControlHandle

Source§

fn eq(&self, other: &Frame) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ImageFrame> for ControlHandle

Source§

fn eq(&self, other: &ImageFrame) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Label> for ControlHandle

Source§

fn eq(&self, other: &Label) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<D: Display + Default> PartialEq<ListBox<D>> for ControlHandle

Source§

fn eq(&self, other: &ListBox<D>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ListView> for ControlHandle

Source§

fn eq(&self, other: &ListView) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Menu> for ControlHandle

Source§

fn eq(&self, other: &Menu) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<MenuItem> for ControlHandle

Source§

fn eq(&self, other: &MenuItem) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<MenuSeparator> for ControlHandle

Source§

fn eq(&self, other: &MenuSeparator) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<MessageWindow> for ControlHandle

Source§

fn eq(&self, other: &MessageWindow) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Notice> for ControlHandle

Source§

fn eq(&self, other: &Notice) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<NumberSelect> for ControlHandle

Source§

fn eq(&self, other: &NumberSelect) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Plotters> for ControlHandle

Source§

fn eq(&self, other: &Plotters) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ProgressBar> for ControlHandle

Source§

fn eq(&self, other: &ProgressBar) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<RadioButton> for ControlHandle

Source§

fn eq(&self, other: &RadioButton) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<RichLabel> for ControlHandle

Source§

fn eq(&self, other: &RichLabel) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<RichTextBox> for ControlHandle

Source§

fn eq(&self, other: &RichTextBox) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<ScrollBar> for ControlHandle

Source§

fn eq(&self, other: &ScrollBar) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<StatusBar> for ControlHandle

Source§

fn eq(&self, other: &StatusBar) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Tab> for ControlHandle

Source§

fn eq(&self, other: &Tab) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<TabsContainer> for ControlHandle

Source§

fn eq(&self, other: &TabsContainer) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<TextBox> for ControlHandle

Source§

fn eq(&self, other: &TextBox) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<TextInput> for ControlHandle

Source§

fn eq(&self, other: &TextInput) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Timer> for ControlHandle

Source§

fn eq(&self, other: &Timer) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Tooltip> for ControlHandle

Source§

fn eq(&self, other: &Tooltip) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<TrackBar> for ControlHandle

Source§

fn eq(&self, other: &TrackBar) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<TrayNotification> for ControlHandle

Source§

fn eq(&self, other: &TrayNotification) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<TreeView> for ControlHandle

Source§

fn eq(&self, other: &TreeView) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Window> for ControlHandle

Source§

fn eq(&self, other: &Window) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq for ControlHandle

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for ControlHandle

Source§

impl Eq for ControlHandle

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.