Struct nannou::ui::prelude::widget::line::State
[−]
[src]
pub struct State { pub start: [f64; 2], pub end: [f64; 2], }
Unique state for the Line widget.
Fields
start: [f64; 2]
The start of the line.
end: [f64; 2]
The end of the line.
Trait Implementations
impl Copy for State
[src]
impl Clone for State
[src]
fn clone(&self) -> State
[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<State> for State
[src]
fn eq(&self, __arg_0: &State) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &State) -> bool
[src]
This method tests for !=
.