pub struct OpenTypeRequest<'a> {Show 13 fields
pub text: &'a str,
pub font_sha256: &'a str,
pub face_index: u32,
pub position_x_mm: f64,
pub position_y_mm: f64,
pub em_x_mm: f64,
pub em_y_mm: f64,
pub alignment_height_mm: f64,
pub angle_degrees: f64,
pub horizontal_alignment: TextHorizontalAlignment,
pub vertical_alignment: TextVerticalAlignment,
pub mirrored: bool,
pub max_error_mm: f64,
}Fields§
§text: &'a str§font_sha256: &'a str§face_index: u32§position_x_mm: f64§position_y_mm: f64§em_x_mm: f64Horizontal em size.
em_y_mm: f64Vertical em size.
alignment_height_mm: f64The height vertical alignment measures by (TextLayoutRequest::alignment_height).
angle_degrees: f64§horizontal_alignment: TextHorizontalAlignment§vertical_alignment: TextVerticalAlignment§mirrored: bool§max_error_mm: f64Trait Implementations§
Source§impl<'a> Clone for OpenTypeRequest<'a>
impl<'a> Clone for OpenTypeRequest<'a>
Source§fn clone(&self) -> OpenTypeRequest<'a>
fn clone(&self) -> OpenTypeRequest<'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 OpenTypeRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for OpenTypeRequest<'a>
impl<'a> RefUnwindSafe for OpenTypeRequest<'a>
impl<'a> Send for OpenTypeRequest<'a>
impl<'a> Sync for OpenTypeRequest<'a>
impl<'a> Unpin for OpenTypeRequest<'a>
impl<'a> UnsafeUnpin for OpenTypeRequest<'a>
impl<'a> UnwindSafe for OpenTypeRequest<'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