pub struct TextOutlineV1 {
pub paint: PaintBindingV1,
pub width_px: Px,
}Expand description
A bounded, portable text outline/stroke surface (v1).
This is intentionally minimal so it can be implemented deterministically across wasm/mobile backends. More advanced strategies (e.g. SDF/MSDF atlases, multi-layer outlines) remain v2+.
Fields§
§paint: PaintBindingV1§width_px: PxOutline width in logical pixels (pre-scale-factor).
Implementations§
Source§impl TextOutlineV1
impl TextOutlineV1
Trait Implementations§
Source§impl Clone for TextOutlineV1
impl Clone for TextOutlineV1
Source§fn clone(&self) -> TextOutlineV1
fn clone(&self) -> TextOutlineV1
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 moreSource§impl Debug for TextOutlineV1
impl Debug for TextOutlineV1
Source§impl PartialEq for TextOutlineV1
impl PartialEq for TextOutlineV1
impl Copy for TextOutlineV1
impl StructuralPartialEq for TextOutlineV1
Auto Trait Implementations§
impl Freeze for TextOutlineV1
impl RefUnwindSafe for TextOutlineV1
impl Send for TextOutlineV1
impl Sync for TextOutlineV1
impl Unpin for TextOutlineV1
impl UnsafeUnpin for TextOutlineV1
impl UnwindSafe for TextOutlineV1
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