pub struct Utf16Position {
pub start: u32,
pub end: u32,
}Expand description
UTF-16 code unit offset position (0-based) Designed for CodeMirror 6 compatibility
Fields§
§start: u32§end: u32Trait Implementations§
Source§impl Clone for Utf16Position
impl Clone for Utf16Position
Source§fn clone(&self) -> Utf16Position
fn clone(&self) -> Utf16Position
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 Utf16Position
impl Debug for Utf16Position
Auto Trait Implementations§
impl Freeze for Utf16Position
impl RefUnwindSafe for Utf16Position
impl Send for Utf16Position
impl Sync for Utf16Position
impl Unpin for Utf16Position
impl UnwindSafe for Utf16Position
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