pub struct TextSnippetId(/* private fields */);Expand description
Stable identity for a required byte snippet inside a text file.
Implementations§
Source§impl TextSnippetId
impl TextSnippetId
Trait Implementations§
Source§impl Clone for TextSnippetId
impl Clone for TextSnippetId
Source§fn clone(&self) -> TextSnippetId
fn clone(&self) -> TextSnippetId
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 TextSnippetId
impl Debug for TextSnippetId
Source§impl Display for TextSnippetId
impl Display for TextSnippetId
impl Eq for TextSnippetId
Source§impl Ord for TextSnippetId
impl Ord for TextSnippetId
Source§fn cmp(&self, other: &TextSnippetId) -> Ordering
fn cmp(&self, other: &TextSnippetId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TextSnippetId
impl PartialEq for TextSnippetId
Source§impl PartialOrd for TextSnippetId
impl PartialOrd for TextSnippetId
impl StructuralPartialEq for TextSnippetId
Auto Trait Implementations§
impl Freeze for TextSnippetId
impl RefUnwindSafe for TextSnippetId
impl Send for TextSnippetId
impl Sync for TextSnippetId
impl Unpin for TextSnippetId
impl UnsafeUnpin for TextSnippetId
impl UnwindSafe for TextSnippetId
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