pub struct TruncateLineOutput {
pub text: String,
pub was_truncated: bool,
}Expand description
Result of truncate_line.
Fields§
§text: String§was_truncated: boolTrait Implementations§
Source§impl Clone for TruncateLineOutput
impl Clone for TruncateLineOutput
Source§fn clone(&self) -> TruncateLineOutput
fn clone(&self) -> TruncateLineOutput
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 moreAuto Trait Implementations§
impl Freeze for TruncateLineOutput
impl RefUnwindSafe for TruncateLineOutput
impl Send for TruncateLineOutput
impl Sync for TruncateLineOutput
impl Unpin for TruncateLineOutput
impl UnsafeUnpin for TruncateLineOutput
impl UnwindSafe for TruncateLineOutput
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