#[repr(u8)]pub enum FontEmbedding {
Allowed = 0,
PrintOnly = 1,
NoModify = 2,
NoEmbed = 3,
}Variants§
Implementations§
Source§impl FontEmbedding
impl FontEmbedding
pub fn from_u8(value: u8) -> Result<Self, HonzoError>
Trait Implementations§
Source§impl Clone for FontEmbedding
impl Clone for FontEmbedding
Source§fn clone(&self) -> FontEmbedding
fn clone(&self) -> FontEmbedding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FontEmbedding
Source§impl Debug for FontEmbedding
impl Debug for FontEmbedding
impl Eq for FontEmbedding
Source§impl PartialEq for FontEmbedding
impl PartialEq for FontEmbedding
Source§fn eq(&self, other: &FontEmbedding) -> bool
fn eq(&self, other: &FontEmbedding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FontEmbedding
Auto Trait Implementations§
impl Freeze for FontEmbedding
impl RefUnwindSafe for FontEmbedding
impl Send for FontEmbedding
impl Sync for FontEmbedding
impl Unpin for FontEmbedding
impl UnsafeUnpin for FontEmbedding
impl UnwindSafe for FontEmbedding
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