Struct swash::ObliqueAngle [−][src]
pub struct ObliqueAngle(_);
Angle of an oblique style in degrees from -90 to 90.
Implementations
impl ObliqueAngle
[src]
impl ObliqueAngle
[src]pub fn from_degrees(degrees: f32) -> Self
[src]
Creates a new oblique angle from degrees.
pub fn from_radians(radians: f32) -> Self
[src]
Creates a new oblique angle from radians.
pub fn from_gradians(gradians: f32) -> Self
[src]
Creates a new oblique angle from gradians.
pub fn from_turns(turns: f32) -> Self
[src]
Creates a new oblique angle from turns.
pub fn to_degrees(self) -> f32
[src]
Returns the oblique angle in degrees.
Trait Implementations
impl Clone for ObliqueAngle
[src]
impl Clone for ObliqueAngle
[src]fn clone(&self) -> ObliqueAngle
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ObliqueAngle
[src]
impl Copy for ObliqueAngle
[src]impl Default for ObliqueAngle
[src]
impl Default for ObliqueAngle
[src]impl Eq for ObliqueAngle
[src]
impl Eq for ObliqueAngle
[src]impl PartialEq<ObliqueAngle> for ObliqueAngle
[src]
impl PartialEq<ObliqueAngle> for ObliqueAngle
[src]fn eq(&self, other: &ObliqueAngle) -> bool
[src]
fn ne(&self, other: &ObliqueAngle) -> bool
[src]
impl StructuralEq for ObliqueAngle
[src]
impl StructuralEq for ObliqueAngle
[src]impl StructuralPartialEq for ObliqueAngle
[src]
impl StructuralPartialEq for ObliqueAngle
[src]Auto Trait Implementations
impl RefUnwindSafe for ObliqueAngle
impl RefUnwindSafe for ObliqueAngle
impl Send for ObliqueAngle
impl Send for ObliqueAngle
impl Sync for ObliqueAngle
impl Sync for ObliqueAngle
impl Unpin for ObliqueAngle
impl Unpin for ObliqueAngle
impl UnwindSafe for ObliqueAngle
impl UnwindSafe for ObliqueAngle