pub struct RoundState {
pub mode: RoundMode,
pub threshold: i32,
pub phase: i32,
pub period: i32,
}
Expand description
Graphics state that controls rounding.
See https://developer.apple.com/fonts/TrueType-Reference-Manual/RM04/Chap4.html#round%20state
Fields§
§mode: RoundMode
§threshold: i32
§phase: i32
§period: i32
Implementations§
Trait Implementations§
Source§impl Clone for RoundState
impl Clone for RoundState
Source§fn clone(&self) -> RoundState
fn clone(&self) -> RoundState
Returns a duplicate 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 RoundState
impl Debug for RoundState
Source§impl Default for RoundState
impl Default for RoundState
impl Copy for RoundState
Auto Trait Implementations§
impl Freeze for RoundState
impl RefUnwindSafe for RoundState
impl Send for RoundState
impl Sync for RoundState
impl Unpin for RoundState
impl UnwindSafe for RoundState
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