pub struct DefineCffFont {
pub id: u16,
pub font_name: String,
pub is_bold: bool,
pub is_italic: bool,
pub data: Option<Vec<u8>>,
}
Fields§
§id: u16
§font_name: String
§is_bold: bool
§is_italic: bool
§data: Option<Vec<u8>>
Trait Implementations§
Source§impl Clone for DefineCffFont
impl Clone for DefineCffFont
Source§fn clone(&self) -> DefineCffFont
fn clone(&self) -> DefineCffFont
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 DefineCffFont
impl Debug for DefineCffFont
Source§impl<'de> Deserialize<'de> for DefineCffFont
impl<'de> Deserialize<'de> for DefineCffFont
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for DefineCffFont
impl Hash for DefineCffFont
Source§impl Ord for DefineCffFont
impl Ord for DefineCffFont
Source§fn cmp(&self, other: &DefineCffFont) -> Ordering
fn cmp(&self, other: &DefineCffFont) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DefineCffFont
impl PartialEq for DefineCffFont
Source§impl PartialOrd for DefineCffFont
impl PartialOrd for DefineCffFont
Source§impl Serialize for DefineCffFont
impl Serialize for DefineCffFont
impl Eq for DefineCffFont
impl StructuralPartialEq for DefineCffFont
Auto Trait Implementations§
impl Freeze for DefineCffFont
impl RefUnwindSafe for DefineCffFont
impl Send for DefineCffFont
impl Sync for DefineCffFont
impl Unpin for DefineCffFont
impl UnwindSafe for DefineCffFont
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