pub enum TextAttribute {
Show 29 variants
Invalid,
LeftMargin,
RightMargin,
Indent,
Invisible,
Editable,
PixelsAboveLines,
PixelsBelowLines,
PixelsInsideWrap,
BgFullHeight,
Rise,
Underline,
Strikethrough,
Size,
Scale,
Weight,
Language,
FamilyName,
BgColor,
FgColor,
BgStipple,
FgStipple,
WrapMode,
Direction,
Justification,
Stretch,
Variant,
Style,
LastDefined,
// some variants omitted
}
Variants§
Invalid
LeftMargin
RightMargin
Indent
Invisible
Editable
PixelsAboveLines
PixelsBelowLines
PixelsInsideWrap
BgFullHeight
Rise
Underline
Strikethrough
Size
Scale
Weight
Language
FamilyName
BgColor
FgColor
BgStipple
FgStipple
WrapMode
Direction
Justification
Stretch
Variant
Style
LastDefined
Trait Implementations§
Source§impl Clone for TextAttribute
impl Clone for TextAttribute
Source§fn clone(&self) -> TextAttribute
fn clone(&self) -> TextAttribute
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 TextAttribute
impl Debug for TextAttribute
Source§impl Display for TextAttribute
impl Display for TextAttribute
Source§impl<'a> FromValue<'a> for TextAttribute
impl<'a> FromValue<'a> for TextAttribute
unsafe fn from_value(value: &Value) -> Self
Source§impl<'a> FromValueOptional<'a> for TextAttribute
impl<'a> FromValueOptional<'a> for TextAttribute
unsafe fn from_value_optional(value: &Value) -> Option<Self>
Source§impl Hash for TextAttribute
impl Hash for TextAttribute
Source§impl Ord for TextAttribute
impl Ord for TextAttribute
Source§fn cmp(&self, other: &TextAttribute) -> Ordering
fn cmp(&self, other: &TextAttribute) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TextAttribute
impl PartialEq for TextAttribute
Source§impl PartialOrd for TextAttribute
impl PartialOrd for TextAttribute
Source§impl StaticType for TextAttribute
impl StaticType for TextAttribute
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for TextAttribute
impl Eq for TextAttribute
impl StructuralPartialEq for TextAttribute
Auto Trait Implementations§
impl Freeze for TextAttribute
impl RefUnwindSafe for TextAttribute
impl Send for TextAttribute
impl Sync for TextAttribute
impl Unpin for TextAttribute
impl UnwindSafe for TextAttribute
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,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.