#[repr(C)]pub struct CanvasFontParameters {
pub leading_default: u8,
pub leading_min: u8,
pub height: u8,
pub descender: u8,
}Expand description
Font parameters
Fields§
§leading_default: u8§leading_min: u8§height: u8§descender: u8Trait Implementations§
Source§impl Clone for CanvasFontParameters
impl Clone for CanvasFontParameters
Source§fn clone(&self) -> CanvasFontParameters
fn clone(&self) -> CanvasFontParameters
Returns a duplicate 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 CanvasFontParameters
impl Debug for CanvasFontParameters
impl Copy for CanvasFontParameters
Auto Trait Implementations§
impl Freeze for CanvasFontParameters
impl RefUnwindSafe for CanvasFontParameters
impl Send for CanvasFontParameters
impl Sync for CanvasFontParameters
impl Unpin for CanvasFontParameters
impl UnwindSafe for CanvasFontParameters
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