pub(crate) struct LayoutData<'a> {
pub ot: &'a OtData<'a>,
pub aat: &'a AatData<'a>,
pub units_per_em: u16,
pub apply_trak: bool,
}Expand description
Prepared, read-only data for one font and variation position.
The table views borrow a long-lived LayoutCache.
Fields§
§ot: &'a OtData<'a>§aat: &'a AatData<'a>§units_per_em: u16§apply_trak: boolTrait Implementations§
Source§impl<'a> Clone for LayoutData<'a>
impl<'a> Clone for LayoutData<'a>
Source§fn clone(&self) -> LayoutData<'a>
fn clone(&self) -> LayoutData<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for LayoutData<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for LayoutData<'a>
impl<'a> !UnwindSafe for LayoutData<'a>
impl<'a> Freeze for LayoutData<'a>
impl<'a> Send for LayoutData<'a>
impl<'a> Sync for LayoutData<'a>
impl<'a> Unpin for LayoutData<'a>
impl<'a> UnsafeUnpin for LayoutData<'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