Struct nannou::ui::prelude::widget::primitive::shape::oval::Section [−][src]
A section of the oval will be drawn where the section is specified by the given radians.
A section with radians
of 2.0 * PI
would be equivalent to the full Oval
.
Fields
radians: f64
The angle occuppied by the section's circumference.
offset_radians: f64
The radians at which the section will begin.
A value of 0.0
will begin at the right of the oval.
Trait Implementations
impl Clone for Section
[src]
impl Clone for Section
fn clone(&self) -> Section
[src]
fn clone(&self) -> Section
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Section
[src]
impl Debug for Section
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl OvalSection for Section
[src]
impl OvalSection for Section
const IS_OVER: fn(&Container, [f64; 2], &Theme) -> IsOver
IS_OVER: fn(&Container, [f64; 2], &Theme) -> IsOver = is_over_section_widget
The function used to determine if a point is over the oval section widget.
impl Copy for Section
[src]
impl Copy for Section
impl PartialEq<Section> for Section
[src]
impl PartialEq<Section> for Section