pub struct TruncateOptions<'a> {
pub length: usize,
pub separator: Option<&'a str>,
pub omission: &'a str,
}Fields§
§length: usize§separator: Option<&'a str>§omission: &'a strTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TruncateOptions<'a>
impl<'a> RefUnwindSafe for TruncateOptions<'a>
impl<'a> Send for TruncateOptions<'a>
impl<'a> Sync for TruncateOptions<'a>
impl<'a> Unpin for TruncateOptions<'a>
impl<'a> UnwindSafe for TruncateOptions<'a>
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