pub struct SelectableTextInteractiveSpan {
pub range: Range<usize>,
pub tag: Arc<str>,
}Fields§
§range: Range<usize>§tag: Arc<str>A stable, component-defined tag for the span (e.g. a URL for markdown links).
Trait Implementations§
Source§impl Clone for SelectableTextInteractiveSpan
impl Clone for SelectableTextInteractiveSpan
Source§fn clone(&self) -> SelectableTextInteractiveSpan
fn clone(&self) -> SelectableTextInteractiveSpan
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 PartialEq for SelectableTextInteractiveSpan
impl PartialEq for SelectableTextInteractiveSpan
Source§fn eq(&self, other: &SelectableTextInteractiveSpan) -> bool
fn eq(&self, other: &SelectableTextInteractiveSpan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SelectableTextInteractiveSpan
impl StructuralPartialEq for SelectableTextInteractiveSpan
Auto Trait Implementations§
impl Freeze for SelectableTextInteractiveSpan
impl RefUnwindSafe for SelectableTextInteractiveSpan
impl Send for SelectableTextInteractiveSpan
impl Sync for SelectableTextInteractiveSpan
impl Unpin for SelectableTextInteractiveSpan
impl UnsafeUnpin for SelectableTextInteractiveSpan
impl UnwindSafe for SelectableTextInteractiveSpan
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