pub enum BottomBarClaim {
Free,
Chrome,
LinkPreview,
}Expand description
How the bottom-row overlays share the one row they all draw into. Reserving the row without anything to draw in it is not a state: the cell painter would leave a blank row.
Variants§
Free
Nothing holds the row; the cell painter uses every row.
Chrome
A chrome bar holds it.
LinkPreview
The link preview holds it.
Implementations§
Source§impl BottomBarClaim
impl BottomBarClaim
Sourcepub const fn reserved_rows(self) -> u16
pub const fn reserved_rows(self) -> u16
Rows the cell painter must leave unpainted, so an overlay’s opaque background never has a grid glyph showing through it.
Sourcepub const fn draw_link_preview(self) -> bool
pub const fn draw_link_preview(self) -> bool
Whether the link preview may emit into that row.
Trait Implementations§
Source§impl Clone for BottomBarClaim
impl Clone for BottomBarClaim
impl Copy for BottomBarClaim
Source§impl Debug for BottomBarClaim
impl Debug for BottomBarClaim
impl Eq for BottomBarClaim
Source§impl PartialEq for BottomBarClaim
impl PartialEq for BottomBarClaim
impl StructuralPartialEq for BottomBarClaim
Auto Trait Implementations§
impl Freeze for BottomBarClaim
impl RefUnwindSafe for BottomBarClaim
impl Send for BottomBarClaim
impl Sync for BottomBarClaim
impl Unpin for BottomBarClaim
impl UnsafeUnpin for BottomBarClaim
impl UnwindSafe for BottomBarClaim
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.