pub struct PlanSegment {
pub our_line_num: usize,
pub their_line_num: usize,
pub n: usize,
pub validity: u8,
pub tactic: RenderTactic,
}
Fields§
§our_line_num: usize
Line number of start of segment, visual lines in current view state.
their_line_num: usize
Line number of start of segment, visual lines in client’s cache, if validity != 0.
n: usize
Number of visual lines in this segment.
validity: u8
Validity of this segment in client’s cache.
tactic: RenderTactic
Tactic for rendering this segment.
Auto Trait Implementations§
impl Freeze for PlanSegment
impl RefUnwindSafe for PlanSegment
impl Send for PlanSegment
impl Sync for PlanSegment
impl Unpin for PlanSegment
impl UnwindSafe for PlanSegment
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