Struct button_controller::ButtonVisual [] [src]

pub struct ButtonVisual {
    pub appear_pressed: bool,
    pub mouse_cursor_inside: bool,
}

Stores the current visual state of button.

Fields

Whether the button appears pressed.

Whether mouse cursor is inside button layout.

Methods

impl ButtonVisual
[src]

Gets the current button state.

Trait Implementations

impl Clone for ButtonVisual
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ButtonVisual
[src]

impl PartialEq for ButtonVisual
[src]

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

This method tests for !=.

impl Debug for ButtonVisual
[src]

Formats the value using the given formatter.