pub struct StyledSpan {
pub start_byte: usize,
pub end_byte: usize,
pub style: Option<Style>,
}Fields§
§start_byte: usize§end_byte: usize§style: Option<Style>Trait Implementations§
Source§impl Clone for StyledSpan
impl Clone for StyledSpan
Source§fn clone(&self) -> StyledSpan
fn clone(&self) -> StyledSpan
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 StyledSpan
impl Debug for StyledSpan
Source§impl PartialEq for StyledSpan
impl PartialEq for StyledSpan
impl Copy for StyledSpan
impl Eq for StyledSpan
impl StructuralPartialEq for StyledSpan
Auto Trait Implementations§
impl Freeze for StyledSpan
impl RefUnwindSafe for StyledSpan
impl Send for StyledSpan
impl Sync for StyledSpan
impl Unpin for StyledSpan
impl UnsafeUnpin for StyledSpan
impl UnwindSafe for StyledSpan
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.