Struct nannou::ui::prelude::widget::polygon::State
[−]
[src]
pub struct State { pub points: Vec<[f64; 2]>, // some fields omitted }
Unique state for the Polygon.
Fields
points: Vec<[f64; 2]>
An owned version of the points yielded by the Polygon's points
iterator.
Trait Implementations
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 !=
.