pub struct Format<Font> {
pub width: Length,
pub height: Length,
pub size: Option<Pixels>,
pub font: Option<Font>,
pub line_height: LineHeight,
pub align_x: Alignment,
pub align_y: Vertical,
pub shaping: Shaping,
pub wrapping: Wrapping,
}Expand description
Fields§
§width: Length§height: Length§size: Option<Pixels>§font: Option<Font>§line_height: LineHeight§align_x: Alignment§align_y: Vertical§shaping: Shaping§wrapping: WrappingTrait Implementations§
impl<Font: Copy> Copy for Format<Font>
Auto Trait Implementations§
impl<Font> Freeze for Format<Font>where
Font: Freeze,
impl<Font> RefUnwindSafe for Format<Font>where
Font: RefUnwindSafe,
impl<Font> Send for Format<Font>where
Font: Send,
impl<Font> Sync for Format<Font>where
Font: Sync,
impl<Font> Unpin for Format<Font>where
Font: Unpin,
impl<Font> UnwindSafe for Format<Font>where
Font: UnwindSafe,
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