#[repr(u32)]pub enum TextStrokeStyle {
Outside = 0,
Center = 1,
}
Expand description
This enum describes the positioning of a text stroke relative to the border of the glyphs in a Text
.
Variants§
Outside = 0
The inside edge of the stroke is at the outer edge of the text.
Center = 1
The center line of the stroke is at the outer edge of the text, like in Adobe Illustrator.
Trait Implementations§
Source§impl Clone for TextStrokeStyle
impl Clone for TextStrokeStyle
Source§fn clone(&self) -> TextStrokeStyle
fn clone(&self) -> TextStrokeStyle
Returns a copy 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 TextStrokeStyle
impl Debug for TextStrokeStyle
Source§impl Default for TextStrokeStyle
impl Default for TextStrokeStyle
Source§impl Display for TextStrokeStyle
impl Display for TextStrokeStyle
Source§impl FromStr for TextStrokeStyle
impl FromStr for TextStrokeStyle
Source§impl Hash for TextStrokeStyle
impl Hash for TextStrokeStyle
Source§impl PartialEq for TextStrokeStyle
impl PartialEq for TextStrokeStyle
Source§impl TryFrom<&str> for TextStrokeStyle
impl TryFrom<&str> for TextStrokeStyle
impl Copy for TextStrokeStyle
impl Eq for TextStrokeStyle
impl StructuralPartialEq for TextStrokeStyle
Auto Trait Implementations§
impl Freeze for TextStrokeStyle
impl RefUnwindSafe for TextStrokeStyle
impl Send for TextStrokeStyle
impl Sync for TextStrokeStyle
impl Unpin for TextStrokeStyle
impl UnwindSafe for TextStrokeStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Converts the given value to a
SharedString
.