pub enum HostSize {
Fill,
Given,
Content,
Row,
NoUi,
}Expand description
The room a host gives.
Variants§
Fill
A whole rect (an area, a window).
Given
A size given by the host’s own declaration, not by the content (a custom dialog’s size).
Content
A bounded width, the height of the content.
Row
One row.
NoUi
No Ui at all: data only.
Trait Implementations§
impl Copy for HostSize
impl Eq for HostSize
impl StructuralPartialEq for HostSize
Auto Trait Implementations§
impl Freeze for HostSize
impl RefUnwindSafe for HostSize
impl Send for HostSize
impl Sync for HostSize
impl Unpin for HostSize
impl UnsafeUnpin for HostSize
impl UnwindSafe for HostSize
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