pub struct TextContourRequest<'a> {
pub shaping: &'a ShapingInput,
pub em_x: f64,
pub em_y: f64,
pub origin_x: f64,
pub origin_y: f64,
pub max_error: f64,
pub fake_bold: bool,
pub fake_italic: bool,
}Expand description
One raw text run before alignment, markup, mirroring, or rotation.
Fields§
§shaping: &'a ShapingInput§em_x: f64Horizontal em size in caller units.
em_y: f64Vertical em size in caller units.
origin_x: f64§origin_y: f64§max_error: f64§fake_bold: bool§fake_italic: boolTrait Implementations§
Source§impl<'a> Clone for TextContourRequest<'a>
impl<'a> Clone for TextContourRequest<'a>
Source§fn clone(&self) -> TextContourRequest<'a>
fn clone(&self) -> TextContourRequest<'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 moreimpl<'a> Copy for TextContourRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for TextContourRequest<'a>
impl<'a> RefUnwindSafe for TextContourRequest<'a>
impl<'a> Send for TextContourRequest<'a>
impl<'a> Sync for TextContourRequest<'a>
impl<'a> Unpin for TextContourRequest<'a>
impl<'a> UnsafeUnpin for TextContourRequest<'a>
impl<'a> UnwindSafe for TextContourRequest<'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