pub struct PlotterTextFont<'a> {
pub face: &'a str,
pub bold: bool,
pub italic: bool,
pub font_bytes: &'a [u8],
pub shaping: ShapingInput,
pub fake_bold: bool,
pub fake_italic: bool,
}Expand description
One deterministic font/style selection supplied outside a KiCad source.
Fields§
§face: &'a str§bold: bool§italic: bool§font_bytes: &'a [u8]§shaping: ShapingInputComplete shaping context. text is replaced by each carrier’s
resolved text; all other fields, including direction/script/language,
scale, features, face index, variations, ID, and digest, are retained.
fake_bold: bool§fake_italic: boolTrait Implementations§
Source§impl<'a> Clone for PlotterTextFont<'a>
impl<'a> Clone for PlotterTextFont<'a>
Source§fn clone(&self) -> PlotterTextFont<'a>
fn clone(&self) -> PlotterTextFont<'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 PlotterTextFont<'a>
impl<'a> RefUnwindSafe for PlotterTextFont<'a>
impl<'a> Send for PlotterTextFont<'a>
impl<'a> Sync for PlotterTextFont<'a>
impl<'a> Unpin for PlotterTextFont<'a>
impl<'a> UnsafeUnpin for PlotterTextFont<'a>
impl<'a> UnwindSafe for PlotterTextFont<'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