Enum nannou::ui::prelude::widget::collapsible_area::Event
[−]
[src]
pub enum Event { Open, Close, }
The event returned when the text bar or triangle is pressed.
Variants
Open
The collapsible area was opened.
Close
The collapsible area was closed.
Methods
impl Event
[src]
fn is_open(&self) -> bool
[src]
Returns whether or not the Event
results in an open collapsible area.
Trait Implementations
impl Copy for Event
[src]
impl Hash for Event
[src]
impl Clone for Event
[src]
fn clone(&self) -> Event
[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<Event> for Event
[src]
fn eq(&self, __arg_0: &Event) -> 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 !=
.
impl Debug for Event
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.