pub struct DefineFontInfo {
pub font_id: u16,
pub font_name: String,
pub is_bold: bool,
pub is_italic: bool,
pub is_ansi: bool,
pub is_shift_jis: bool,
pub is_small: bool,
pub language: LanguageCode,
pub code_units: Vec<u16>,
}
Fields§
§font_id: u16
§font_name: String
§is_bold: bool
§is_italic: bool
§is_ansi: bool
§is_shift_jis: bool
§is_small: bool
§language: LanguageCode
§code_units: Vec<u16>
Trait Implementations§
Source§impl Clone for DefineFontInfo
impl Clone for DefineFontInfo
Source§fn clone(&self) -> DefineFontInfo
fn clone(&self) -> DefineFontInfo
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 DefineFontInfo
impl Debug for DefineFontInfo
Source§impl<'de> Deserialize<'de> for DefineFontInfo
impl<'de> Deserialize<'de> for DefineFontInfo
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 DefineFontInfo
impl Hash for DefineFontInfo
Source§impl Ord for DefineFontInfo
impl Ord for DefineFontInfo
Source§fn cmp(&self, other: &DefineFontInfo) -> Ordering
fn cmp(&self, other: &DefineFontInfo) -> 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 DefineFontInfo
impl PartialEq for DefineFontInfo
Source§impl PartialOrd for DefineFontInfo
impl PartialOrd for DefineFontInfo
Source§impl Serialize for DefineFontInfo
impl Serialize for DefineFontInfo
impl Eq for DefineFontInfo
impl StructuralPartialEq for DefineFontInfo
Auto Trait Implementations§
impl Freeze for DefineFontInfo
impl RefUnwindSafe for DefineFontInfo
impl Send for DefineFontInfo
impl Sync for DefineFontInfo
impl Unpin for DefineFontInfo
impl UnwindSafe for DefineFontInfo
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