Struct nannou::ui::prelude::widget::collapsible_area::Area
[−]
[src]
pub struct Area { pub id: NodeIndex<u32>, pub collapsible_area_id: NodeIndex<u32>, pub width: f64, }
The area returned by the widget when the CollapsibleArea
is open.
Fields
id: NodeIndex<u32>
A unique identifier for the user's widget.
collapsible_area_id: NodeIndex<u32>
The widget::Id for the collapsible area that produced this Area
.
width: f64
The width of the CollapsibleArea
that produced this Area
.
Methods
impl Area
[src]
fn set<W>(self, widget: W, ui: &mut UiCell) -> <W as Widget>::Event where
W: Widget,
[src]
W: Widget,
Set the user's given widget directly under the CollapsibleArea
.
Returns any events produced by the given widget.
Trait Implementations
impl Copy for Area
[src]
impl Clone for Area
[src]
fn clone(&self) -> Area
[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 PartialEq<Area> for Area
[src]
fn eq(&self, __arg_0: &Area) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Area) -> bool
[src]
This method tests for !=
.