pub struct TextLineMetrics {
pub range: Range<usize>,
pub bounds: UiRect,
pub baseline: f32,
pub hard_break: bool,
}Fields§
§range: Range<usize>§bounds: UiRect§baseline: f32§hard_break: boolTrait Implementations§
Source§impl Clone for TextLineMetrics
impl Clone for TextLineMetrics
Source§fn clone(&self) -> TextLineMetrics
fn clone(&self) -> TextLineMetrics
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 TextLineMetrics
impl Debug for TextLineMetrics
Source§impl Default for TextLineMetrics
impl Default for TextLineMetrics
Source§fn default() -> TextLineMetrics
fn default() -> TextLineMetrics
Returns the “default value” for a type. Read more
Source§impl PartialEq for TextLineMetrics
impl PartialEq for TextLineMetrics
impl StructuralPartialEq for TextLineMetrics
Auto Trait Implementations§
impl Freeze for TextLineMetrics
impl RefUnwindSafe for TextLineMetrics
impl Send for TextLineMetrics
impl Sync for TextLineMetrics
impl Unpin for TextLineMetrics
impl UnsafeUnpin for TextLineMetrics
impl UnwindSafe for TextLineMetrics
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