Struct editor2::movement::TextLayoutDetails
source · pub struct TextLayoutDetails {
pub text_system: Arc<TextSystem>,
pub editor_style: EditorStyle,
pub rem_size: Pixels,
}
Expand description
TextLayoutDetails encompasses everything we need to move vertically taking into account variable width characters.
Fields§
§text_system: Arc<TextSystem>
§editor_style: EditorStyle
§rem_size: Pixels
Auto Trait Implementations§
impl !RefUnwindSafe for TextLayoutDetails
impl Send for TextLayoutDetails
impl Sync for TextLayoutDetails
impl Unpin for TextLayoutDetails
impl !UnwindSafe for TextLayoutDetails
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