Enum skrifa::patchmap::PatchEncoding
source · pub enum PatchEncoding {
Brotli,
PerTableBrotli {
fully_invalidating: bool,
},
GlyphKeyed,
}
Expand description
Models the encoding type for a incremental font transfer patch. See: https://w3c.github.io/IFT/Overview.html#font-patch-formats-summary
Variants§
Trait Implementations§
source§impl Clone for PatchEncoding
impl Clone for PatchEncoding
source§fn clone(&self) -> PatchEncoding
fn clone(&self) -> PatchEncoding
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 PatchEncoding
impl Debug for PatchEncoding
source§impl Hash for PatchEncoding
impl Hash for PatchEncoding
source§impl PartialEq for PatchEncoding
impl PartialEq for PatchEncoding
impl Copy for PatchEncoding
impl Eq for PatchEncoding
impl StructuralPartialEq for PatchEncoding
Auto Trait Implementations§
impl Freeze for PatchEncoding
impl RefUnwindSafe for PatchEncoding
impl Send for PatchEncoding
impl Sync for PatchEncoding
impl Unpin for PatchEncoding
impl UnwindSafe for PatchEncoding
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
)