Struct ttf_parser::gpos::ValueRecord
source · [−]pub struct ValueRecord<'a> {
pub x_placement: i16,
pub y_placement: i16,
pub x_advance: i16,
pub y_advance: i16,
pub x_placement_device: Option<Device<'a>>,
pub y_placement_device: Option<Device<'a>>,
pub x_advance_device: Option<Device<'a>>,
pub y_advance_device: Option<Device<'a>>,
}
Expand description
A Value Record.
Fields
x_placement: i16
Horizontal adjustment for placement, in design units.
y_placement: i16
Vertical adjustment for placement, in design units.
x_advance: i16
Horizontal adjustment for advance, in design units — only used for horizontal layout.
y_advance: i16
Vertical adjustment for advance, in design units — only used for vertical layout.
x_placement_device: Option<Device<'a>>
A Device
table with horizontal adjustment for placement.
y_placement_device: Option<Device<'a>>
A Device
table with vertical adjustment for placement.
x_advance_device: Option<Device<'a>>
A Device
table with horizontal adjustment for advance.
y_advance_device: Option<Device<'a>>
A Device
table with vertical adjustment for advance.
Trait Implementations
sourceimpl<'a> Clone for ValueRecord<'a>
impl<'a> Clone for ValueRecord<'a>
sourcefn clone(&self) -> ValueRecord<'a>
fn clone(&self) -> ValueRecord<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for ValueRecord<'a>
impl<'a> Debug for ValueRecord<'a>
sourceimpl<'a> Default for ValueRecord<'a>
impl<'a> Default for ValueRecord<'a>
sourcefn default() -> ValueRecord<'a>
fn default() -> ValueRecord<'a>
Returns the “default value” for a type. Read more
impl<'a> Copy for ValueRecord<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ValueRecord<'a>
impl<'a> Send for ValueRecord<'a>
impl<'a> Sync for ValueRecord<'a>
impl<'a> Unpin for ValueRecord<'a>
impl<'a> UnwindSafe for ValueRecord<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more