pub enum Overflow {
Clip,
Ellipsis,
}Expand description
Overflow policy for explicitly, fixed-size elements. See
plan/05-overflow-and-robustness.md, Grundprinzip 3. Visible is
intentionally not part of V1 (ADR-011).
Variants§
Clip
Default: clip hard at the element’s box.
Ellipsis
Single-line text only: truncate with a trailing “…”.
Trait Implementations§
impl Copy for Overflow
impl Eq for Overflow
impl StructuralPartialEq for Overflow
Auto Trait Implementations§
impl Freeze for Overflow
impl RefUnwindSafe for Overflow
impl Send for Overflow
impl Sync for Overflow
impl Unpin for Overflow
impl UnsafeUnpin for Overflow
impl UnwindSafe for Overflow
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