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§
source§impl<'a> Clone for ValueRecord<'a>
impl<'a> Clone for ValueRecord<'a>
source§fn clone(&self) -> ValueRecord<'a>
fn clone(&self) -> ValueRecord<'a>
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<'a> Debug for ValueRecord<'a>
impl<'a> Debug for ValueRecord<'a>
source§impl<'a> Default for ValueRecord<'a>
impl<'a> Default for ValueRecord<'a>
source§fn 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§
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