pub struct TextTagRange {
pub start: TextMark,
pub end: TextMark,
pub tag: TagKind,
}Expand description
A tagged byte range inside a TextBuffer; survives edits via two
TextMarks at the endpoints.
Fields§
§start: TextMarkRange start.
end: TextMarkRange end (inclusive byte; convention: end.byte > start.byte).
tag: TagKindTag flavour.
Trait Implementations§
Source§impl Clone for TextTagRange
impl Clone for TextTagRange
Source§fn clone(&self) -> TextTagRange
fn clone(&self) -> TextTagRange
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 TextTagRange
impl Debug for TextTagRange
impl Copy for TextTagRange
Auto Trait Implementations§
impl Freeze for TextTagRange
impl RefUnwindSafe for TextTagRange
impl Send for TextTagRange
impl Sync for TextTagRange
impl Unpin for TextTagRange
impl UnsafeUnpin for TextTagRange
impl UnwindSafe for TextTagRange
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,
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.