[][src]Trait ringui::Control

pub trait Control: ControlGeometry + ControlEvents + Any {
    fn name(&self) -> &str;
}

Required Methods

Methods

impl dyn Control

Returns true if the boxed type is the same as T

Returns some reference to the boxed value if it is of type T, or None if it isn't.

Returns a reference to the boxed value, blindly assuming it to be of type T. If you are not absolutely certain of T, you must not call this.

Returns some mutable reference to the boxed value if it is of type T, or None if it isn't.

Returns a mutable reference to the boxed value, blindly assuming it to be of type T. If you are not absolutely certain of T, you must not call this.

impl dyn Control

Returns the boxed value if it is of type T, or Err(Self) if it isn't.

Returns the boxed value, blindly assuming it to be of type T. If you are not absolutely certain of T, you must not call this.

Implementors

impl Control for GroupH
[src]

impl Control for GroupV
[src]

impl Control for Button
[src]

impl Control for Graph
[src]

impl Control for Label
[src]

impl Control for Panel
[src]

impl Control for Scrollbar
[src]

impl Control for Separator
[src]

impl Control for Tabs
[src]

impl Control for Toggle
[src]

impl Control for Tree
[src]

impl Control for TreeFromDebug
[src]

impl<E: EnumIter + Any + 'static + Clone> Control for ListBox<E>
[src]

impl<E: EnumIter + Any + 'static + Clone> Control for ListBoxMulti<E>
[src]

impl<E: EnumIter + Any + 'static + Clone> Control for ListBoxOption<E>
[src]

impl<T: Any + Clone + Debug + 'static> Control for ReadnOnlyRange<T>
[src]

impl<T: Any + Debug + 'static + Clone> Control for Slider<T>
[src]

impl<T: FromStr + ToString + Clone + Debug + 'static> Control for TextBox<T>
[src]