pub struct DefineFontName {
pub font_id: u16,
pub name: String,
pub copyright: String,
}
Fields§
§font_id: u16
§name: String
§copyright: String
Trait Implementations§
Source§impl Clone for DefineFontName
impl Clone for DefineFontName
Source§fn clone(&self) -> DefineFontName
fn clone(&self) -> DefineFontName
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 DefineFontName
impl Debug for DefineFontName
Source§impl<'de> Deserialize<'de> for DefineFontName
impl<'de> Deserialize<'de> for DefineFontName
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 DefineFontName
impl Hash for DefineFontName
Source§impl Ord for DefineFontName
impl Ord for DefineFontName
Source§fn cmp(&self, other: &DefineFontName) -> Ordering
fn cmp(&self, other: &DefineFontName) -> 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 DefineFontName
impl PartialEq for DefineFontName
Source§impl PartialOrd for DefineFontName
impl PartialOrd for DefineFontName
Source§impl Serialize for DefineFontName
impl Serialize for DefineFontName
impl Eq for DefineFontName
impl StructuralPartialEq for DefineFontName
Auto Trait Implementations§
impl Freeze for DefineFontName
impl RefUnwindSafe for DefineFontName
impl Send for DefineFontName
impl Sync for DefineFontName
impl Unpin for DefineFontName
impl UnwindSafe for DefineFontName
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