Enum conrod::scroll::Interaction [] [src]

pub enum Interaction {
    Normal,
    Highlighted(Elem),
    Clicked(Elem),
}

The current interaction with the

Variants

Normal

No interaction with the Scrollbar.

Highlighted(Elem)

Part of the scrollbar is highlighted.

Clicked(Elem)

Part of the scrollbar is clicked.

Methods

impl Interaction
[src]

fn color(&self, color: Color) -> Color

The stateful version of the given color.

Trait Implementations

impl PartialEq for Interaction
[src]

fn eq(&self, __arg_0: &Interaction) -> bool

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

fn ne(&self, __arg_0: &Interaction) -> bool

This method tests for !=.

impl Debug for Interaction
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Interaction
[src]

fn clone(&self) -> Interaction

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Interaction
[src]