Struct ttf_parser::tables::glyf::EndpointsIter
source · struct EndpointsIter<'a> {
endpoints: LazyArray16<'a, u16>,
index: u16,
left: u16,
}
Expand description
A simple flattening iterator for glyph’s endpoints.
Translates endpoints like: 2 4 7 into flags: 0 0 1 0 1 0 0 1
Fields§
§endpoints: LazyArray16<'a, u16>
§index: u16
§left: u16
Implementations§
Trait Implementations§
source§impl<'a> Clone for EndpointsIter<'a>
impl<'a> Clone for EndpointsIter<'a>
source§fn clone(&self) -> EndpointsIter<'a>
fn clone(&self) -> EndpointsIter<'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> Default for EndpointsIter<'a>
impl<'a> Default for EndpointsIter<'a>
source§fn default() -> EndpointsIter<'a>
fn default() -> EndpointsIter<'a>
Returns the “default value” for a type. Read more
impl<'a> Copy for EndpointsIter<'a>
Auto Trait Implementations§
impl<'a> Freeze for EndpointsIter<'a>
impl<'a> RefUnwindSafe for EndpointsIter<'a>
impl<'a> Send for EndpointsIter<'a>
impl<'a> Sync for EndpointsIter<'a>
impl<'a> Unpin for EndpointsIter<'a>
impl<'a> UnwindSafe for EndpointsIter<'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
)