pub struct ByteSizer;Expand description
Default sizer: returns the byte length of the chunk text.
Trait Implementations§
Source§impl ChunkSizer for ByteSizer
impl ChunkSizer for ByteSizer
impl Copy for ByteSizer
Auto Trait Implementations§
impl Freeze for ByteSizer
impl RefUnwindSafe for ByteSizer
impl Send for ByteSizer
impl Sync for ByteSizer
impl Unpin for ByteSizer
impl UnsafeUnpin for ByteSizer
impl UnwindSafe for ByteSizer
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