pub struct DeltaBuffers<'a, D: PointCoord> {
pub deltas: &'a mut [Point<D>],
pub iup: &'a mut [Point<D>],
}Expand description
Caller-provided storage for Gvar::simple_deltas and
GlyphVariationData::simple_deltas.
Both slices must be at least as long as the glyph’s point count, including the phantom points.
Fields§
§deltas: &'a mut [Point<D>]Receives the computed deltas.
iup: &'a mut [Point<D>]Working space used to interpolate the deltas of points that a sparse tuple does not reference.
Auto Trait Implementations§
impl<'a, D> Freeze for DeltaBuffers<'a, D>
impl<'a, D> RefUnwindSafe for DeltaBuffers<'a, D>where
D: RefUnwindSafe,
impl<'a, D> Send for DeltaBuffers<'a, D>where
D: Send,
impl<'a, D> Sync for DeltaBuffers<'a, D>where
D: Sync,
impl<'a, D> Unpin for DeltaBuffers<'a, D>
impl<'a, D> UnsafeUnpin for DeltaBuffers<'a, D>
impl<'a, D> !UnwindSafe for DeltaBuffers<'a, D>
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