pub struct Text {
pub id: String,
pub transform: Transform,
pub rotate: Option<NumberList>,
pub chunks: Vec<TextChunk>,
}
Expand description
A text element.
text
element in SVG.
Fields
id: String
Element’s ID.
Taken from the SVG itself. Isn’t automatically generated. Can be empty.
transform: Transform
Element transform.
rotate: Option<NumberList>
Rotate list.
chunks: Vec<TextChunk>
A list of text chunks.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnwindSafe for Text
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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