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> Freeze for TextLayout<'a, Font>
impl<'a, Font> RefUnwindSafe for TextLayout<'a, Font>
impl<'a, Font> Send for TextLayout<'a, Font>
impl<'a, Font> Sync for TextLayout<'a, Font>
impl<'a, Font> Unpin for TextLayout<'a, Font>
impl<'a, Font> UnwindSafe for TextLayout<'a, Font>
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