pub enum Overflow {
Visible,
Hidden,
Scroll,
}Expand description
Overflow clipping and scrolling behavior.
Variants§
Visible
Content may render outside box bounds.
Hidden
Content outside box bounds is clipped.
Scroll
Content outside box bounds is clipped and scrollable.
Trait Implementations§
impl Copy for Overflow
impl Eq for Overflow
Source§impl Ord for Overflow
impl Ord for Overflow
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Overflow
impl PartialOrd for Overflow
impl StructuralPartialEq for Overflow
Auto Trait Implementations§
impl Forget for Overflow
impl Freeze for Overflow
impl Move 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