pub struct PrintedLine {
pub number: usize,
pub is_wrapped: bool,
}Expand description
Information about a line that was printed
Fields§
§number: usizeThe line’s number
is_wrapped: boolWether the line is wrapped
Trait Implementations§
Source§impl Clone for PrintedLine
impl Clone for PrintedLine
Source§fn clone(&self) -> PrintedLine
fn clone(&self) -> PrintedLine
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrintedLine
impl Debug for PrintedLine
Source§impl Hash for PrintedLine
impl Hash for PrintedLine
Source§impl Ord for PrintedLine
impl Ord for PrintedLine
Source§fn cmp(&self, other: &PrintedLine) -> Ordering
fn cmp(&self, other: &PrintedLine) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PrintedLine
impl PartialEq for PrintedLine
Source§impl PartialOrd for PrintedLine
impl PartialOrd for PrintedLine
impl Copy for PrintedLine
impl Eq for PrintedLine
impl StructuralPartialEq for PrintedLine
Auto Trait Implementations§
impl Freeze for PrintedLine
impl RefUnwindSafe for PrintedLine
impl Send for PrintedLine
impl Sync for PrintedLine
impl Unpin for PrintedLine
impl UnsafeUnpin for PrintedLine
impl UnwindSafe for PrintedLine
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