pub struct RowPos {
pub line: usize,
pub sub: usize,
}Expand description
One display row: the sub-th row of document line line. Rows order by
line, then by row within the line.
Fields§
§line: usize§sub: usizeImplementations§
Trait Implementations§
impl Copy for RowPos
Source§impl<'de> Deserialize<'de> for RowPos
impl<'de> Deserialize<'de> for RowPos
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RowPos
Source§impl Ord for RowPos
impl Ord for RowPos
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for RowPos
impl PartialOrd for RowPos
impl StructuralPartialEq for RowPos
Auto Trait Implementations§
impl Freeze for RowPos
impl RefUnwindSafe for RowPos
impl Send for RowPos
impl Sync for RowPos
impl Unpin for RowPos
impl UnsafeUnpin for RowPos
impl UnwindSafe for RowPos
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