pub struct TextDrawn {
pub size: Size,
pub truncated: bool,
}Expand description
The result of text.
Fields§
§size: SizeThe size of the text drawn; 0 by 0 if nothing was drawn.
truncated: boolWhether the text was shortened to fit (see Truncate), so a tooltip can show it in full.
Trait Implementations§
impl Copy for TextDrawn
impl Eq for TextDrawn
impl StructuralPartialEq for TextDrawn
Auto Trait Implementations§
impl Freeze for TextDrawn
impl RefUnwindSafe for TextDrawn
impl Send for TextDrawn
impl Sync for TextDrawn
impl Unpin for TextDrawn
impl UnsafeUnpin for TextDrawn
impl UnwindSafe for TextDrawn
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