pub enum HighlightGap {
Hold,
Hide,
}Expand description
What a highlight does after its run ends, before the next starts.
Variants§
Hold
Stays on the run until the next starts or its holder ends.
Hide
Is drawn only while its run lasts; a run that starts after the last one ended takes the box without sliding.
Trait Implementations§
Source§impl Clone for HighlightGap
impl Clone for HighlightGap
impl Copy for HighlightGap
Source§impl Debug for HighlightGap
impl Debug for HighlightGap
Source§impl Default for HighlightGap
impl Default for HighlightGap
Source§impl<'de> Deserialize<'de> for HighlightGap
impl<'de> Deserialize<'de> for HighlightGap
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 HighlightGap
Source§impl PartialEq for HighlightGap
impl PartialEq for HighlightGap
Source§impl Serialize for HighlightGap
impl Serialize for HighlightGap
impl StructuralPartialEq for HighlightGap
Auto Trait Implementations§
impl Forget for HighlightGap
impl Freeze for HighlightGap
impl Move for HighlightGap
impl RefUnwindSafe for HighlightGap
impl Send for HighlightGap
impl Sync for HighlightGap
impl Unpin for HighlightGap
impl UnsafeUnpin for HighlightGap
impl UnwindSafe for HighlightGap
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