pub enum Overflow {
Visible,
Hidden,
Scroll,
Auto,
}Expand description
CSS-like overflow property for layout containers.
Controls the behavior when content exceeds the allocated area.
Variants§
Visible
Content is not clipped; may render outside the container.
Hidden
Content is clipped at the container boundary.
Scroll
Content is scrollable (requires scroll state).
Auto
Browser-like auto: scroll only when needed.
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