pub enum Horz {
None,
Repos,
Resize,
}
Available on crate feature
gui
only.Expand description
Specifies the horizontal behavior of the control when the parent window is resized.
The values are analog to gui::Vert
.
Variants§
None
Nothing will be done when parent window is resized.
Repos
When parent window resizes, the control will move anchored at right. Size of the control will remain fixed.
Resize
When parent window resizes, the control width will stretch/shrink accordingly. Position will remain fixed.
Trait Implementations§
source§impl PartialEq for Horz
impl PartialEq for Horz
impl Copy for Horz
impl Eq for Horz
impl StructuralPartialEq for Horz
Auto Trait Implementations§
impl Freeze for Horz
impl RefUnwindSafe for Horz
impl Send for Horz
impl Sync for Horz
impl Unpin for Horz
impl UnwindSafe for Horz
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