pub struct LineTruncation {
pub ellipsis_x: f32,
pub ellipsis_width: f32,
}Expand description
Where a line’s trailing ellipsis was drawn, for a line the layout truncated.
Fields§
§ellipsis_x: f32Leading edge of the ellipsis glyph, in layout-local coordinates.
ellipsis_width: f32Advance width of the ellipsis glyph.
Trait Implementations§
Source§impl Clone for LineTruncation
impl Clone for LineTruncation
Source§fn clone(&self) -> LineTruncation
fn clone(&self) -> LineTruncation
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 moreimpl Copy for LineTruncation
Source§impl Debug for LineTruncation
impl Debug for LineTruncation
Source§impl PartialEq for LineTruncation
impl PartialEq for LineTruncation
impl StructuralPartialEq for LineTruncation
Auto Trait Implementations§
impl Freeze for LineTruncation
impl RefUnwindSafe for LineTruncation
impl Send for LineTruncation
impl Sync for LineTruncation
impl Unpin for LineTruncation
impl UnsafeUnpin for LineTruncation
impl UnwindSafe for LineTruncation
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