pub struct TextState {
pub char_spacing: f64,
pub word_spacing: f64,
pub horiz_scaling: f64,
pub leading: f64,
pub font_name: Vec<u8>,
pub font_size: f64,
pub text_rise: f64,
pub render_mode: i64,
}Expand description
Text state parameters (PDF spec 9.3).
Fields§
§char_spacing: f64§word_spacing: f64§horiz_scaling: f64§leading: f64§font_name: Vec<u8>§font_size: f64§text_rise: f64§render_mode: i64Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextState
impl RefUnwindSafe for TextState
impl Send for TextState
impl Sync for TextState
impl Unpin for TextState
impl UnsafeUnpin for TextState
impl UnwindSafe for TextState
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