pub struct TextClipRun {
pub object: TextObject,
pub char_space: f32,
pub word_space: f32,
}Expand description
One text run held for clipping, with the state its placement needs.
Character and word spacing are graphics state rather than properties of the
object, and a Tc or Tw between two runs applies to the second only, so
each run carries the values that were live when it was shown.
Fields§
§object: TextObjectThe run itself.
char_space: f32Tc when the run was shown.
word_space: f32Tw when the run was shown.
Trait Implementations§
Source§impl Clone for TextClipRun
impl Clone for TextClipRun
Source§fn clone(&self) -> TextClipRun
fn clone(&self) -> TextClipRun
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 moreSource§impl Debug for TextClipRun
impl Debug for TextClipRun
Source§impl PartialEq for TextClipRun
impl PartialEq for TextClipRun
impl StructuralPartialEq for TextClipRun
Auto Trait Implementations§
impl !RefUnwindSafe for TextClipRun
impl !UnwindSafe for TextClipRun
impl Freeze for TextClipRun
impl Send for TextClipRun
impl Sync for TextClipRun
impl Unpin for TextClipRun
impl UnsafeUnpin for TextClipRun
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