Struct ttf_parser::gpos::Anchor
source · pub struct Anchor<'a> {
pub x: i16,
pub y: i16,
pub x_device: Option<Device<'a>>,
pub y_device: Option<Device<'a>>,
}
Expand description
An Anchor Table.
The Anchor Table Format 2: Design Units Plus Contour Point is not supported.
Fields§
§x: i16
Horizontal value, in design units.
y: i16
Vertical value, in design units.
x_device: Option<Device<'a>>
A Device
table with horizontal value.
y_device: Option<Device<'a>>
A Device
table with vertical value.
Trait Implementations§
impl<'a> Copy for Anchor<'a>
Auto Trait Implementations§
impl<'a> Freeze for Anchor<'a>
impl<'a> RefUnwindSafe for Anchor<'a>
impl<'a> Send for Anchor<'a>
impl<'a> Sync for Anchor<'a>
impl<'a> Unpin for Anchor<'a>
impl<'a> UnwindSafe for Anchor<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)