pub struct TextLayoutConfig {
pub font: FontId,
pub size: f32,
pub wrap_width: f32,
pub monospace: bool,
}Fields§
§font: FontId§size: f32§wrap_width: f32§monospace: boolTrait Implementations§
Source§impl Clone for TextLayoutConfig
impl Clone for TextLayoutConfig
impl Copy for TextLayoutConfig
Source§impl Debug for TextLayoutConfig
impl Debug for TextLayoutConfig
Source§impl Default for TextLayoutConfig
impl Default for TextLayoutConfig
Source§impl PartialEq for TextLayoutConfig
impl PartialEq for TextLayoutConfig
impl StructuralPartialEq for TextLayoutConfig
Auto Trait Implementations§
impl Forget for TextLayoutConfig
impl Freeze for TextLayoutConfig
impl Move for TextLayoutConfig
impl RefUnwindSafe for TextLayoutConfig
impl Send for TextLayoutConfig
impl Sync for TextLayoutConfig
impl Unpin for TextLayoutConfig
impl UnsafeUnpin for TextLayoutConfig
impl UnwindSafe for TextLayoutConfig
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