Struct TextStyleAttributes
#[repr(transparent)]pub struct TextStyleAttributes(pub u32);Tuple Fields§
§0: u32Implementations§
§impl TextStyleAttributes
impl TextStyleAttributes
pub const None: Self
pub const TextColor: Self
pub const BackgroundColor: Self
pub const UnderlineColor: Self
pub const UnderlineType: Self
§impl TextStyleAttributes
impl TextStyleAttributes
Trait Implementations§
§impl BitAnd for TextStyleAttributes
impl BitAnd for TextStyleAttributes
§impl BitAndAssign for TextStyleAttributes
impl BitAndAssign for TextStyleAttributes
§fn bitand_assign(&mut self, other: Self)
fn bitand_assign(&mut self, other: Self)
Performs the
&= operation. Read more§impl BitOr for TextStyleAttributes
impl BitOr for TextStyleAttributes
§impl BitOrAssign for TextStyleAttributes
impl BitOrAssign for TextStyleAttributes
§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the
|= operation. Read more§impl Clone for TextStyleAttributes
impl Clone for TextStyleAttributes
§fn clone(&self) -> TextStyleAttributes
fn clone(&self) -> TextStyleAttributes
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 more§impl Debug for TextStyleAttributes
impl Debug for TextStyleAttributes
§impl Default for TextStyleAttributes
impl Default for TextStyleAttributes
§fn default() -> TextStyleAttributes
fn default() -> TextStyleAttributes
Returns the “default value” for a type. Read more
§impl Not for TextStyleAttributes
impl Not for TextStyleAttributes
§impl PartialEq for TextStyleAttributes
impl PartialEq for TextStyleAttributes
impl Copy for TextStyleAttributes
impl Eq for TextStyleAttributes
impl StructuralPartialEq for TextStyleAttributes
Auto Trait Implementations§
impl Freeze for TextStyleAttributes
impl RefUnwindSafe for TextStyleAttributes
impl Send for TextStyleAttributes
impl Sync for TextStyleAttributes
impl Unpin for TextStyleAttributes
impl UnwindSafe for TextStyleAttributes
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