pub struct TextAreaLayout {
pub ranges: Vec<(usize, usize)>,
pub line_h_px: f32,
}Fields§
§ranges: Vec<(usize, usize)>§line_h_px: f32Trait Implementations§
Source§impl Clone for TextAreaLayout
impl Clone for TextAreaLayout
Source§fn clone(&self) -> TextAreaLayout
fn clone(&self) -> TextAreaLayout
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TextAreaLayout
impl RefUnwindSafe for TextAreaLayout
impl Send for TextAreaLayout
impl Sync for TextAreaLayout
impl Unpin for TextAreaLayout
impl UnwindSafe for TextAreaLayout
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