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
radians: Scalar
The angle occuppied by the section's circumference.
offset_radians: Scalar
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]
fn clone(&self) -> Section
[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 Debug for Section
[src]
impl PartialEq for Section
[src]
fn eq(&self, __arg_0: &Section) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Section) -> bool
[src]
This method tests for !=
.