pub enum Overflow {
Visible,
Clip,
Scroll,
}Expand description
Overflow behaviour for content exceeding a box.
Variants§
Visible
Clip
Clip the subtree to this box (hidden / clip).
Scroll
Clip, and let the wheel move the content (auto / scroll). The box
keeps its own size; taffy reports how tall the content actually is.
Trait Implementations§
impl Copy 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