pub struct View {
pub count: usize,
}Expand description
what the last draw actually fit on screen. only the layout knows, because messages are 1 or 2 rows tall depending on whether they carry an emote — so paging and keeping the cursor visible have to read it back from the frame.
Fields§
§count: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for View
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnsafeUnpin for View
impl UnwindSafe for View
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