Enum flo_ui::control::ControlType
[−]
[src]
pub enum ControlType { Empty, Container, CroppingContainer, ScrollingContainer, Popup, Button, Label, Canvas, Slider, Rotor, }
Possible types of control
Variants
Empty
A control that does nothing
Container
Control that contains other controls
CroppingContainer
Control that contains other controls (and crops them to the bounds of this control)
ScrollingContainer
Control that contains other controls and some scroll bars
Popup
Control that 'pops up' from its parent, usually a temporary dialog box of some description
Button
Clickable button
Label
Label used to display some text
Canvas
Allows arbitrary rendering using a canvas resource
Slider
Allows picking a value by dragging left or right
Rotor
A circular slider that represents its value by how much it is rotated
Trait Implementations
impl Clone for ControlType
[src]
fn clone(&self) -> ControlType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for ControlType
[src]
impl PartialEq for ControlType
[src]
fn eq(&self, __arg_0: &ControlType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.