pub struct CharFormat {
pub size: String,
pub color: String,
pub style: String,
pub font: String,
}Expand description
Character formatting for a text run.
Fields§
§size: String§color: String§style: String§font: StringTrait Implementations§
Source§impl Clone for CharFormat
impl Clone for CharFormat
Source§fn clone(&self) -> CharFormat
fn clone(&self) -> CharFormat
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 moreSource§impl Debug for CharFormat
impl Debug for CharFormat
Auto Trait Implementations§
impl Freeze for CharFormat
impl RefUnwindSafe for CharFormat
impl Send for CharFormat
impl Sync for CharFormat
impl Unpin for CharFormat
impl UnsafeUnpin for CharFormat
impl UnwindSafe for CharFormat
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