pub struct FontProperties {
pub name: String,
pub scale_string: String,
}Fields§
§name: String§scale_string: Stringf32 does not implement Hash, so we use a String instead.
Trait Implementations§
Source§impl Clone for FontProperties
impl Clone for FontProperties
Source§fn clone(&self) -> FontProperties
fn clone(&self) -> FontProperties
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 moreSource§impl Debug for FontProperties
impl Debug for FontProperties
Source§impl Default for FontProperties
impl Default for FontProperties
Source§fn default() -> FontProperties
fn default() -> FontProperties
Returns the “default value” for a type. Read more
impl Eq for FontProperties
Source§impl Hash for FontProperties
impl Hash for FontProperties
Source§impl PartialEq for FontProperties
impl PartialEq for FontProperties
impl StructuralPartialEq for FontProperties
Auto Trait Implementations§
impl Freeze for FontProperties
impl RefUnwindSafe for FontProperties
impl Send for FontProperties
impl Sync for FontProperties
impl Unpin for FontProperties
impl UnsafeUnpin for FontProperties
impl UnwindSafe for FontProperties
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