pub struct Utf16Units;Expand description
UTF-16 code units — what LSP specifies, and nothing else.
Trait Implementations§
Source§impl Clone for Utf16Units
impl Clone for Utf16Units
Source§fn clone(&self) -> Utf16Units
fn clone(&self) -> Utf16Units
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 moreimpl Copy for Utf16Units
Source§impl Debug for Utf16Units
impl Debug for Utf16Units
Source§impl Default for Utf16Units
impl Default for Utf16Units
Source§fn default() -> Utf16Units
fn default() -> Utf16Units
Returns the “default value” for a type. Read more
impl Eq for Utf16Units
Source§impl Hash for Utf16Units
impl Hash for Utf16Units
Source§impl Ord for Utf16Units
impl Ord for Utf16Units
Source§fn cmp(&self, other: &Utf16Units) -> Ordering
fn cmp(&self, other: &Utf16Units) -> 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 Utf16Units
impl PartialEq for Utf16Units
Source§impl PartialOrd for Utf16Units
impl PartialOrd for Utf16Units
Source§impl Scale for Utf16Units
impl Scale for Utf16Units
impl StructuralPartialEq for Utf16Units
Auto Trait Implementations§
impl Freeze for Utf16Units
impl RefUnwindSafe for Utf16Units
impl Send for Utf16Units
impl Sync for Utf16Units
impl Unpin for Utf16Units
impl UnsafeUnpin for Utf16Units
impl UnwindSafe for Utf16Units
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