pub enum VerticalOverflow {
Crop,
Ellipsis,
Visible,
}Expand description
What a live render does with content taller than the screen. Mirrors
upstream’s VerticalOverflowMethod.
Variants§
Crop
Keep only the lines that fit.
Ellipsis
Keep all but the last line that fits, then a centred ... line in
live.ellipsis (upstream’s default).
Visible
Render every line.
Trait Implementations§
Source§impl Clone for VerticalOverflow
impl Clone for VerticalOverflow
impl Copy for VerticalOverflow
Source§impl Debug for VerticalOverflow
impl Debug for VerticalOverflow
Source§impl Default for VerticalOverflow
impl Default for VerticalOverflow
impl Eq for VerticalOverflow
Source§impl PartialEq for VerticalOverflow
impl PartialEq for VerticalOverflow
impl StructuralPartialEq for VerticalOverflow
Auto Trait Implementations§
impl Freeze for VerticalOverflow
impl RefUnwindSafe for VerticalOverflow
impl Send for VerticalOverflow
impl Sync for VerticalOverflow
impl Unpin for VerticalOverflow
impl UnsafeUnpin for VerticalOverflow
impl UnwindSafe for VerticalOverflow
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.