Struct kas_text::UpdateEnv [−][src]
pub struct UpdateEnv<'a> { /* fields omitted */ }
Expand description
Helper to modify an environment
Implementations
Read access to the environment
Set font
Set DPP
Units are pixels/point (see Environment::dpp
).
Set default font size in points
Units are points/em (see Environment::pt_size
).
Set the alignment
Takes (horiz, vert)
tuple to allow easier parameter passing.
Set the environment’s bounds
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for UpdateEnv<'a>
impl<'a> !UnwindSafe for UpdateEnv<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Cast to integer, truncating Read more
Cast to the nearest integer Read more
Cast the floor to an integer Read more
Try converting to integer with truncation Read more
Try converting to the nearest integer Read more
Try converting the floor to an integer Read more
Try convert the ceiling to an integer Read more