pub struct SemanticText {
pub selection: Option<Range<usize>>,
pub character_count: Option<usize>,
}Fields§
§selection: Option<Range<usize>>§character_count: Option<usize>Trait Implementations§
Source§impl Clone for SemanticText
impl Clone for SemanticText
Source§fn clone(&self) -> SemanticText
fn clone(&self) -> SemanticText
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 SemanticText
impl Debug for SemanticText
Source§impl Default for SemanticText
impl Default for SemanticText
Source§fn default() -> SemanticText
fn default() -> SemanticText
Returns the “default value” for a type. Read more
impl Eq for SemanticText
Source§impl PartialEq for SemanticText
impl PartialEq for SemanticText
impl StructuralPartialEq for SemanticText
Auto Trait Implementations§
impl Freeze for SemanticText
impl RefUnwindSafe for SemanticText
impl Send for SemanticText
impl Sync for SemanticText
impl Unpin for SemanticText
impl UnsafeUnpin for SemanticText
impl UnwindSafe for SemanticText
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