Struct flo_ui::control::Control [] [src]

pub struct Control { /* fields omitted */ }

Represents a control

Methods

impl Control
[src]

[src]

Creates a new control of a particular type

[src]

Creates a new container control

[src]

Creates a new cropping container control

[src]

Creates a new scrolling container control

[src]

Creates a new popup control

[src]

Creates a new button control

[src]

Creates a new label control

[src]

Create a new empty control

[src]

Creates a new canvas control

[src]

Creates a new slider control

[src]

Creates a new rotor control

[src]

Adds an attribute to this control

[src]

Creates a control with some attributes added to it

[src]

Creates a control with an added controller

Important traits for Box<W>
[src]

Returns an iterator over the attributes for this control

[src]

The type of this control

[src]

True if any of the attributes of this control exactly match the specified attribute (using the rules of is_different_flat, so no recursion when there are subcomponents)

[src]

If this control has a controller attribute, finds it

[src]

If this control has a controller attribute, finds it

[src]

Finds the bounding box for this control if it exists

[src]

If this control has a canvas attribute, finds it

Important traits for Vec<u8>
[src]

Finds the names of all of the controllers referenced by this control and its subcontrols

[src]

Visits the control tree and performs a mapping function on each item

Trait Implementations

impl ToJsonValue for Control
[src]

[src]

Creates a JSON representation of this item Read more

impl Clone for Control
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Control
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for Control
[src]

[src]

Formats the value using the given formatter. Read more

impl DiffableTree for Control
[src]

Important traits for Vec<u8>
[src]

Retrieves the child nodes of this item Read more

[src]

Returns true if this node is different from the specified node (excluding child nodes) Read more

impl Modifier<Control> for ControlAttribute
[src]

[src]

Modify F with self.

impl Modifier<Control> for Font
[src]

[src]

Modify F with self.

impl<'a> Modifier<Control> for &'a Font
[src]

[src]

Modify F with self.

impl Modifier<Control> for TextAlign
[src]

[src]

Modify F with self.

impl<'a> Modifier<Control> for &'a TextAlign
[src]

[src]

Modify F with self.

impl Modifier<Control> for FontWeight
[src]

[src]

Modify F with self.

impl<'a> Modifier<Control> for &'a FontWeight
[src]

[src]

Modify F with self.

impl Modifier<Control> for State
[src]

[src]

Modify F with self.

impl<'a> Modifier<Control> for &'a State
[src]

[src]

Modify F with self.

impl Modifier<Control> for Popup
[src]

[src]

Modify F with self.

impl Modifier<Control> for PopupDirection
[src]

[src]

Modify F with self.

impl<'a> Modifier<Control> for &'a Popup
[src]

[src]

Modify F with self.

impl<'a> Modifier<Control> for &'a str
[src]

[src]

Modify F with self.

impl Modifier<Control> for String
[src]

[src]

Modify F with self.

impl<'a> Modifier<Control> for &'a String
[src]

[src]

Modify F with self.

impl Modifier<Control> for Bounds
[src]

[src]

Modify F with self.

impl Modifier<Control> for Resource<BindingCanvas>
[src]

[src]

Modify F with self.

impl Modifier<Control> for (ActionTrigger, String)
[src]

[src]

Modify F with self.

impl<'a> Modifier<Control> for (ActionTrigger, &'a str)
[src]

[src]

Modify F with self.

impl Modifier<Control> for Vec<ControlAttribute>
[src]

[src]

Modify F with self.

impl Modifier<Control> for Vec<Control>
[src]

[src]

Modify F with self.

impl Modifier<Control> for Scroll
[src]

[src]

Modify F with self.

impl<'a> Modifier<Control> for &'a Scroll
[src]

[src]

Modify F with self.

impl Modifier<Control> for Appearance
[src]

[src]

Modify F with self.

impl<'a> Modifier<Control> for &'a Appearance
[src]

[src]

Modify F with self.

impl Modifier<Control> for Resource<Image>
[src]

[src]

Modify F with self.

Auto Trait Implementations

impl Send for Control

impl Sync for Control