Struct conrod::widget::primitive::shape::oval::Section [] [src]

pub struct Section {
    pub radians: Scalar,
    pub offset_radians: Scalar,
}

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

The angle occuppied by the section's circumference.

The radians at which the section will begin.

A value of 0.0 will begin at the right of the oval.

Trait Implementations

impl Copy for Section
[src]

impl Clone for Section
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Section
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Section
[src]

[src]

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

[src]

This method tests for !=.

impl OvalSection for Section
[src]

IS_OVER: IsOverFn = is_over_section_widget

The function used to determine if a point is over the oval section widget.