pub struct TextBlockLayoutRequest<'a> {Show 14 fields
pub shaping: &'a ShapingInput,
pub size_x: f64,
pub size_y: f64,
pub position_x: f64,
pub position_y: f64,
pub angle_degrees: f64,
pub mirrored: bool,
pub horizontal_alignment: TextHorizontalAlignment,
pub vertical_alignment: TextVerticalAlignment,
pub line_spacing: f64,
pub stroke_width: f64,
pub max_error: f64,
pub fake_bold: bool,
pub fake_italic: bool,
}Expand description
One multiline text request including fake bold/italic synthesis flags.
Fields§
§shaping: &'a ShapingInput§size_x: f64§size_y: f64§position_x: f64§position_y: f64§angle_degrees: f64§mirrored: bool§horizontal_alignment: TextHorizontalAlignment§vertical_alignment: TextVerticalAlignment§line_spacing: f64§stroke_width: f64§max_error: f64§fake_bold: bool§fake_italic: boolTrait Implementations§
Source§impl<'a> Clone for TextBlockLayoutRequest<'a>
impl<'a> Clone for TextBlockLayoutRequest<'a>
Source§fn clone(&self) -> TextBlockLayoutRequest<'a>
fn clone(&self) -> TextBlockLayoutRequest<'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 TextBlockLayoutRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for TextBlockLayoutRequest<'a>
impl<'a> RefUnwindSafe for TextBlockLayoutRequest<'a>
impl<'a> Send for TextBlockLayoutRequest<'a>
impl<'a> Sync for TextBlockLayoutRequest<'a>
impl<'a> Unpin for TextBlockLayoutRequest<'a>
impl<'a> UnsafeUnpin for TextBlockLayoutRequest<'a>
impl<'a> UnwindSafe for TextBlockLayoutRequest<'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