pub struct VSplit<'a, Message = ()> { /* private fields */ }
Expand description

VSplit will split the area vertically. It will

  1. Count the total height(basis) of the split items it contains
  2. Judge if the current height is enough or not for the split items
  3. shrink/grow the split items according to their factors / (total factors)
  4. If still not enough room, the last one(s) would be set height 0

Implementations

Trait Implementations

Returns the “default value” for a type. Read more
get the default size of inner content, will be used if basis is Default
the (width, height) of the content it will be the hint for layouts to calculate the final size Read more
given a key event, emit zero or more messages typical usage is the mouse click event where containers would pass the event down to their children. Read more
same as on_event except that the self reference is mutable

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.