pub enum Overflow {
Visible,
Hidden,
}Expand description
overflow per-axis (styles.ts; Box.tsx resolves the overflow shorthand
to overflowX/overflowY before reaching the DOM — styles.ts:731–734).
Only overflowX and overflowY are stored here; the overflow shorthand
is resolved JS-side in Box.tsx (Box.tsx:90-92) and never reaches Rust.
styles.ts defines overflow as 'visible' | 'hidden' only (styles.ts:384/391/398).
Variants§
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