pub struct TextChar {
pub text: String,
pub origin: (f64, f64),
pub end: (f64, f64),
pub size: f64,
pub font: String,
pub invisible: bool,
}Expand description
One character (or /ActualText replacement) as drawn.
Fields§
§text: StringThe text: usually one character, sometimes a ligature’s letters.
origin: (f64, f64)Baseline start, in displayed page space.
end: (f64, f64)Baseline end (where the next character would start).
size: f64Font size in page space.
font: StringThe font’s name.
invisible: boolWhether it is drawn invisibly (rendering mode 3).
Trait Implementations§
impl StructuralPartialEq for TextChar
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