pub struct TextPath {
pub id: String,
pub start_offset: f32,
pub path: Rc<Path>,
}
Expand description
A path used by text-on-path.
Fields§
§id: String
Element’s ID.
Taken from the SVG itself.
start_offset: f32
A text offset in SVG coordinates.
Percentage values already resolved.
path: Rc<Path>
A path.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextPath
impl RefUnwindSafe for TextPath
impl !Send for TextPath
impl !Sync for TextPath
impl Unpin for TextPath
impl UnwindSafe for TextPath
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