Struct ttf_parser::tables::gpos::AnchorMatrix
source · pub struct AnchorMatrix<'a> {
data: &'a [u8],
pub rows: u16,
pub cols: u16,
matrix: LazyArray32<'a, Option<Offset16>>,
}
Expand description
An Anchor
parsing helper.
Fields§
§data: &'a [u8]
§rows: u16
Number of rows in the matrix.
cols: u16
Number of columns in the matrix.
matrix: LazyArray32<'a, Option<Offset16>>
Implementations§
Trait Implementations§
source§impl<'a> Clone for AnchorMatrix<'a>
impl<'a> Clone for AnchorMatrix<'a>
source§fn clone(&self) -> AnchorMatrix<'a>
fn clone(&self) -> AnchorMatrix<'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 Debug for AnchorMatrix<'_>
impl Debug for AnchorMatrix<'_>
impl<'a> Copy for AnchorMatrix<'a>
Auto Trait Implementations§
impl<'a> Freeze for AnchorMatrix<'a>
impl<'a> RefUnwindSafe for AnchorMatrix<'a>
impl<'a> Send for AnchorMatrix<'a>
impl<'a> Sync for AnchorMatrix<'a>
impl<'a> Unpin for AnchorMatrix<'a>
impl<'a> UnwindSafe for AnchorMatrix<'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
)