#[repr(C)]pub struct SyntheticItalics {
pub angle: i16,
}
Fields§
§angle: i16
Implementations§
Source§impl SyntheticItalics
impl SyntheticItalics
pub const ANGLE_SCALE: f32 = 256f32
pub fn from_degrees(degrees: f32) -> Self
pub fn to_degrees(self) -> f32
pub fn to_radians(self) -> f32
pub fn to_skew(self) -> f32
pub fn enabled() -> Self
pub fn disabled() -> Self
pub fn is_enabled(self) -> bool
Trait Implementations§
Source§impl Clone for SyntheticItalics
impl Clone for SyntheticItalics
Source§fn clone(&self) -> SyntheticItalics
fn clone(&self) -> SyntheticItalics
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SyntheticItalics
impl Debug for SyntheticItalics
Source§impl Default for SyntheticItalics
impl Default for SyntheticItalics
Source§impl<'de> Deserialize<'de> for SyntheticItalics
impl<'de> Deserialize<'de> for SyntheticItalics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SyntheticItalics
impl Hash for SyntheticItalics
Source§impl MallocSizeOf for SyntheticItalics
impl MallocSizeOf for SyntheticItalics
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Source§impl Ord for SyntheticItalics
impl Ord for SyntheticItalics
Source§fn cmp(&self, other: &SyntheticItalics) -> Ordering
fn cmp(&self, other: &SyntheticItalics) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SyntheticItalics
impl PartialEq for SyntheticItalics
Source§impl PartialOrd for SyntheticItalics
impl PartialOrd for SyntheticItalics
Source§impl Serialize for SyntheticItalics
impl Serialize for SyntheticItalics
impl Copy for SyntheticItalics
impl Eq for SyntheticItalics
impl StructuralPartialEq for SyntheticItalics
Auto Trait Implementations§
impl Freeze for SyntheticItalics
impl RefUnwindSafe for SyntheticItalics
impl Send for SyntheticItalics
impl Sync for SyntheticItalics
impl Unpin for SyntheticItalics
impl UnwindSafe for SyntheticItalics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more