Struct owned_ttf_parser::apple_layout::ValueOffset
source · pub struct ValueOffset(u16);
Expand description
A type-safe wrapper for a kerning value offset.
Tuple Fields§
§0: u16
Implementations§
source§impl ValueOffset
impl ValueOffset
sourcepub fn next(self) -> ValueOffset
pub fn next(self) -> ValueOffset
Returns the next offset.
After reaching u16::MAX will start from 0.
Trait Implementations§
source§impl Clone for ValueOffset
impl Clone for ValueOffset
source§fn clone(&self) -> ValueOffset
fn clone(&self) -> ValueOffset
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 ValueOffset
impl Debug for ValueOffset
impl Copy for ValueOffset
Auto Trait Implementations§
impl Freeze for ValueOffset
impl RefUnwindSafe for ValueOffset
impl Send for ValueOffset
impl Sync for ValueOffset
impl Unpin for ValueOffset
impl UnwindSafe for ValueOffset
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