pub enum SpanOverflow {
Clip,
Expand,
}Expand description
Overflow behavior when content exceeds bounds.height.
Registration policy: Specification Required.
Variants§
Clip
Clip at bounds.height (default).
Expand
Allow the widget to expand vertically to fit all content.
In v1 this affects only how content_height is reported; the widget
does not alter its own bounds automatically.
Trait Implementations§
Source§impl Clone for SpanOverflow
impl Clone for SpanOverflow
Source§fn clone(&self) -> SpanOverflow
fn clone(&self) -> SpanOverflow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpanOverflow
Source§impl Debug for SpanOverflow
impl Debug for SpanOverflow
Source§impl Default for SpanOverflow
impl Default for SpanOverflow
Source§fn default() -> SpanOverflow
fn default() -> SpanOverflow
Returns the “default value” for a type. Read more
impl Eq for SpanOverflow
Source§impl PartialEq for SpanOverflow
impl PartialEq for SpanOverflow
impl StructuralPartialEq for SpanOverflow
Auto Trait Implementations§
impl Freeze for SpanOverflow
impl RefUnwindSafe for SpanOverflow
impl Send for SpanOverflow
impl Sync for SpanOverflow
impl Unpin for SpanOverflow
impl UnsafeUnpin for SpanOverflow
impl UnwindSafe for SpanOverflow
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