pub struct FormatTextArgs<'a> {
pub path: &'a str,
pub offset: usize,
pub lines: &'a [String],
pub total_lines: usize,
pub more: bool,
pub byte_cap: bool,
}Fields§
§path: &'a str§offset: usize§lines: &'a [String]§total_lines: usize§more: bool§byte_cap: boolAuto Trait Implementations§
impl<'a> Freeze for FormatTextArgs<'a>
impl<'a> RefUnwindSafe for FormatTextArgs<'a>
impl<'a> Send for FormatTextArgs<'a>
impl<'a> Sync for FormatTextArgs<'a>
impl<'a> Unpin for FormatTextArgs<'a>
impl<'a> UnsafeUnpin for FormatTextArgs<'a>
impl<'a> UnwindSafe for FormatTextArgs<'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