pub struct PropertyFont<'a> {
pub property_name: &'a str,
pub face: &'a str,
pub size_mm: [f64; 2],
pub bold: bool,
}Expand description
Replace the complete font child on a selected property, leaving its other effects intact. No font dimensions or property names are implicit.
Fields§
§property_name: &'a str§face: &'a str§size_mm: [f64; 2]§bold: boolTrait Implementations§
Source§impl<'a> Clone for PropertyFont<'a>
impl<'a> Clone for PropertyFont<'a>
Source§fn clone(&self) -> PropertyFont<'a>
fn clone(&self) -> PropertyFont<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for PropertyFont<'a>
impl<'a> RefUnwindSafe for PropertyFont<'a>
impl<'a> Send for PropertyFont<'a>
impl<'a> Sync for PropertyFont<'a>
impl<'a> Unpin for PropertyFont<'a>
impl<'a> UnsafeUnpin for PropertyFont<'a>
impl<'a> UnwindSafe for PropertyFont<'a>
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