pub enum TextFxPresetProfile {
Conservative,
Balanced,
Expressive,
}Variants§
Implementations§
Source§impl TextFxPresetProfile
impl TextFxPresetProfile
pub const fn as_attr(self) -> &'static str
pub fn apply_to_config(self, config: &mut TextFxConfig)
Trait Implementations§
Source§impl Clone for TextFxPresetProfile
impl Clone for TextFxPresetProfile
Source§fn clone(&self) -> TextFxPresetProfile
fn clone(&self) -> TextFxPresetProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextFxPresetProfile
Source§impl Debug for TextFxPresetProfile
impl Debug for TextFxPresetProfile
Source§impl Default for TextFxPresetProfile
impl Default for TextFxPresetProfile
Source§fn default() -> TextFxPresetProfile
fn default() -> TextFxPresetProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextFxPresetProfile
impl<'de> Deserialize<'de> for TextFxPresetProfile
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
impl Eq for TextFxPresetProfile
Source§impl PartialEq for TextFxPresetProfile
impl PartialEq for TextFxPresetProfile
Source§fn eq(&self, other: &TextFxPresetProfile) -> bool
fn eq(&self, other: &TextFxPresetProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextFxPresetProfile
impl Serialize for TextFxPresetProfile
impl StructuralPartialEq for TextFxPresetProfile
Auto Trait Implementations§
impl Freeze for TextFxPresetProfile
impl RefUnwindSafe for TextFxPresetProfile
impl Send for TextFxPresetProfile
impl Sync for TextFxPresetProfile
impl Unpin for TextFxPresetProfile
impl UnsafeUnpin for TextFxPresetProfile
impl UnwindSafe for TextFxPresetProfile
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