pub struct TextFormattingSpan {
pub start_utf16: u32,
pub end_utf16: u32,
pub style: TextStyle,
}Fields§
§start_utf16: u32§end_utf16: u32§style: TextStyleTrait Implementations§
Source§impl Clone for TextFormattingSpan
impl Clone for TextFormattingSpan
Source§fn clone(&self) -> TextFormattingSpan
fn clone(&self) -> TextFormattingSpan
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 moreSource§impl Debug for TextFormattingSpan
impl Debug for TextFormattingSpan
impl Eq for TextFormattingSpan
Source§impl PartialEq for TextFormattingSpan
impl PartialEq for TextFormattingSpan
impl StructuralPartialEq for TextFormattingSpan
Auto Trait Implementations§
impl Freeze for TextFormattingSpan
impl RefUnwindSafe for TextFormattingSpan
impl Send for TextFormattingSpan
impl Sync for TextFormattingSpan
impl Unpin for TextFormattingSpan
impl UnsafeUnpin for TextFormattingSpan
impl UnwindSafe for TextFormattingSpan
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