#[repr(u8)]pub enum TextShape {
Square = 1,
RampUp = 2,
RampDown = 3,
Triangle = 4,
Round = 5,
Smooth = 6,
}Expand description
Defines the function used to determine the interpolating factor on a text range selector.
Variants§
Trait Implementations§
impl Copy for TextShape
Source§impl<'de> Deserialize<'de> for TextShape
impl<'de> Deserialize<'de> for TextShape
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TextShape
impl RefUnwindSafe for TextShape
impl Send for TextShape
impl Sync for TextShape
impl Unpin for TextShape
impl UnsafeUnpin for TextShape
impl UnwindSafe for TextShape
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