pub struct Utf8ByteCounter;Expand description
Exact UTF-8 byte accounting for diagnostics. These units are not model tokens.
Trait Implementations§
Source§impl Clone for Utf8ByteCounter
impl Clone for Utf8ByteCounter
impl Copy for Utf8ByteCounter
Source§impl Debug for Utf8ByteCounter
impl Debug for Utf8ByteCounter
Source§impl Default for Utf8ByteCounter
impl Default for Utf8ByteCounter
Source§impl TokenCounter for Utf8ByteCounter
impl TokenCounter for Utf8ByteCounter
Auto Trait Implementations§
impl Forget for Utf8ByteCounter
impl Freeze for Utf8ByteCounter
impl Move for Utf8ByteCounter
impl RefUnwindSafe for Utf8ByteCounter
impl Send for Utf8ByteCounter
impl Sync for Utf8ByteCounter
impl Unpin for Utf8ByteCounter
impl UnsafeUnpin for Utf8ByteCounter
impl UnwindSafe for Utf8ByteCounter
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