pub struct TextChar {
pub unicode: String,
pub x: f64,
pub y: f64,
pub font_size: f64,
pub font_name: String,
pub width: f64,
}Expand description
A single extracted character with its position.
Fields§
§unicode: StringThe Unicode character(s) for this glyph.
x: f64X position in user space (points from page origin).
y: f64Y position in user space.
font_size: f64Effective font size in user space.
font_name: StringFont name (resource name).
width: f64Character advance width in user space.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextChar
impl RefUnwindSafe for TextChar
impl Send for TextChar
impl Sync for TextChar
impl Unpin for TextChar
impl UnsafeUnpin for TextChar
impl UnwindSafe for TextChar
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more