pub struct PackedPointNumbers<'a> {
data: FontData<'a>,
}
Expand description
Fields§
§data: FontData<'a>
Implementations§
Source§impl<'a> PackedPointNumbers<'a>
impl<'a> PackedPointNumbers<'a>
Sourcepub fn split_off_front(data: FontData<'a>) -> (Self, FontData<'a>)
pub fn split_off_front(data: FontData<'a>) -> (Self, FontData<'a>)
read point numbers off the front of this data, returning the remaining data
Sourcefn count_and_count_bytes(&self) -> (u16, usize)
fn count_and_count_bytes(&self) -> (u16, usize)
compute the count, and the number of bytes used to store it
Sourcepub fn iter(&self) -> PackedPointNumbersIter<'a> ⓘ
pub fn iter(&self) -> PackedPointNumbersIter<'a> ⓘ
Iterate over the packed points
Trait Implementations§
Source§impl<'a> Clone for PackedPointNumbers<'a>
impl<'a> Clone for PackedPointNumbers<'a>
Source§fn clone(&self) -> PackedPointNumbers<'a>
fn clone(&self) -> PackedPointNumbers<'a>
Returns a duplicate 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 PackedPointNumbers<'a>
impl<'a> Debug for PackedPointNumbers<'a>
Source§impl<'a> Default for PackedPointNumbers<'a>
impl<'a> Default for PackedPointNumbers<'a>
Source§fn default() -> PackedPointNumbers<'a>
fn default() -> PackedPointNumbers<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for PackedPointNumbers<'a>
impl<'a> RefUnwindSafe for PackedPointNumbers<'a>
impl<'a> Send for PackedPointNumbers<'a>
impl<'a> Sync for PackedPointNumbers<'a>
impl<'a> Unpin for PackedPointNumbers<'a>
impl<'a> UnwindSafe for PackedPointNumbers<'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