Struct i_slint_core::textlayout::TextLayout
source · [−]pub struct TextLayout<'a, Font: AbstractFont> {
pub font: &'a Font,
pub letter_spacing: Option<<Font as TextShaper>::Length>,
}
Fields
font: &'a Font
letter_spacing: Option<<Font as TextShaper>::Length>
Implementations
Auto Trait Implementations
impl<'a, Font> RefUnwindSafe for TextLayout<'a, Font> where
Font: RefUnwindSafe,
<Font as TextShaper>::Length: RefUnwindSafe,
impl<'a, Font> Send for TextLayout<'a, Font> where
Font: Sync,
<Font as TextShaper>::Length: Send,
impl<'a, Font> Sync for TextLayout<'a, Font> where
Font: Sync,
<Font as TextShaper>::Length: Sync,
impl<'a, Font> Unpin for TextLayout<'a, Font> where
<Font as TextShaper>::Length: Unpin,
impl<'a, Font> UnwindSafe for TextLayout<'a, Font> where
Font: RefUnwindSafe,
<Font as TextShaper>::Length: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more