pub struct TextAttributes(/* private fields */);
Implementations§
Source§impl TextAttributes
impl TextAttributes
pub fn new() -> TextAttributes
pub fn copy(&self) -> Option<TextAttributes>
pub fn copy_values(&self, dest: &TextAttributes)
Trait Implementations§
Source§impl Clone for TextAttributes
impl Clone for TextAttributes
Source§fn clone(&self) -> TextAttributes
fn clone(&self) -> TextAttributes
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 TextAttributes
impl Debug for TextAttributes
Source§impl Default for TextAttributes
impl Default for TextAttributes
Source§impl Hash for TextAttributes
impl Hash for TextAttributes
Source§impl Ord for TextAttributes
impl Ord for TextAttributes
Source§fn cmp(&self, other: &TextAttributes) -> Ordering
fn cmp(&self, other: &TextAttributes) -> 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 TextAttributes
impl PartialEq for TextAttributes
Source§impl PartialOrd for TextAttributes
impl PartialOrd for TextAttributes
Source§impl StaticType for TextAttributes
impl StaticType for TextAttributes
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for TextAttributes
impl StructuralPartialEq for TextAttributes
Auto Trait Implementations§
impl Freeze for TextAttributes
impl RefUnwindSafe for TextAttributes
impl !Send for TextAttributes
impl !Sync for TextAttributes
impl Unpin for TextAttributes
impl UnwindSafe for TextAttributes
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