pub struct Cut {
pub text: String,
pub dropped: ByteLen,
pub place: Elided,
}Expand description
One shortened text, with the account of what it no longer carries.
Fields§
§text: String§dropped: ByteLenSource bytes removed; the marker’s own bytes are not counted.
place: ElidedImplementations§
Trait Implementations§
impl Eq for Cut
impl StructuralPartialEq for Cut
Auto Trait Implementations§
impl Freeze for Cut
impl RefUnwindSafe for Cut
impl Send for Cut
impl Sync for Cut
impl Unpin for Cut
impl UnsafeUnpin for Cut
impl UnwindSafe for Cut
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