pub struct Position {
pub number: usize,
pub current: usize,
pub last: usize,
pub duplicate: bool,
}Expand description
What a message needs from the list around it: its index number for
~m and whether its Message-ID repeats for ~=. Matching without
a list (a single color rule, say) leaves this at its default, where
both terms are false.
Fields§
§number: usize1-based number as shown in the index; 0 when not on screen.
current: usizeThe selected message’s number, for ..
last: usizeThe last message’s number, for $.
duplicate: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Position
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnsafeUnpin for Position
impl UnwindSafe for Position
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