pub struct ShapedText {
pub text: Substr,
pub width_in_ems: f32,
pub glyphs: Vec<ShapedGlyph>,
}
Fields§
§text: Substr
§width_in_ems: f32
§glyphs: Vec<ShapedGlyph>
Trait Implementations§
Source§impl Clone for ShapedText
impl Clone for ShapedText
Source§fn clone(&self) -> ShapedText
fn clone(&self) -> ShapedText
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ShapedText
impl !RefUnwindSafe for ShapedText
impl !Send for ShapedText
impl !Sync for ShapedText
impl Unpin for ShapedText
impl !UnwindSafe for ShapedText
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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