pub struct Utf16Pos(/* private fields */);Expand description
A zero-based offset measured in UTF-16 code units.
Implementations§
Trait Implementations§
impl Copy for Utf16Pos
impl Eq for Utf16Pos
Source§impl Ord for Utf16Pos
impl Ord for Utf16Pos
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 PartialOrd for Utf16Pos
impl PartialOrd for Utf16Pos
impl StructuralPartialEq for Utf16Pos
Auto Trait Implementations§
impl Freeze for Utf16Pos
impl RefUnwindSafe for Utf16Pos
impl Send for Utf16Pos
impl Sync for Utf16Pos
impl Unpin for Utf16Pos
impl UnsafeUnpin for Utf16Pos
impl UnwindSafe for Utf16Pos
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