pub struct Text {
pub runs: Vec<TextRun>,
pub align: Align,
pub anchor: Point,
pub frame: Option<Rect>,
pub transform: Affine,
}Fields§
§runs: Vec<TextRun>§align: Align§anchor: PointArtistic text: the first baseline’s anchor point in node space (start, centre or end of the
line according to align). Frame text: the frame box in node space.
frame: Option<Rect>§transform: AffineNode space to document pixels.
Trait Implementations§
impl StructuralPartialEq for Text
Auto Trait Implementations§
impl Forget for Text
impl Freeze for Text
impl Move for Text
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnsafeUnpin for Text
impl UnwindSafe for Text
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