[−][src]Struct qt_widgets::q_layout::SizeConstraint
The possible values are:
C++ enum: QLayout::SizeConstraint
.
The possible values are:
See also setSizeConstraint().
Methods
impl SizeConstraint
[src]
impl SizeConstraint
[src]
pub const SetDefaultConstraint: SizeConstraint
[src]
The main widget's minimum size is set to minimumSize(), unless the widget already has a minimum size. (C++ enum variant: SetDefaultConstraint = 0
)
pub const SetNoConstraint: SizeConstraint
[src]
The widget is not constrained. (C++ enum variant: SetNoConstraint = 1
)
pub const SetMinimumSize: SizeConstraint
[src]
The main widget's minimum size is set to minimumSize(); it cannot be smaller. (C++ enum variant: SetMinimumSize = 2
)
pub const SetFixedSize: SizeConstraint
[src]
The main widget's size is set to sizeHint(); it cannot be resized at all. (C++ enum variant: SetFixedSize = 3
)
pub const SetMaximumSize: SizeConstraint
[src]
The main widget's maximum size is set to maximumSize(); it cannot be larger. (C++ enum variant: SetMaximumSize = 4
)
pub const SetMinAndMaxSize: SizeConstraint
[src]
The main widget's minimum size is set to minimumSize() and its maximum size is set to maximumSize(). (C++ enum variant: SetMinAndMaxSize = 5
)
Trait Implementations
impl Eq for SizeConstraint
[src]
impl Clone for SizeConstraint
[src]
fn clone(&self) -> SizeConstraint
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<SizeConstraint> for SizeConstraint
[src]
fn eq(&self, other: &SizeConstraint) -> bool
[src]
fn ne(&self, other: &SizeConstraint) -> bool
[src]
impl From<i32> for SizeConstraint
[src]
impl From<SizeConstraint> for c_int
[src]
fn from(value: SizeConstraint) -> Self
[src]
impl Copy for SizeConstraint
[src]
impl Debug for SizeConstraint
[src]
Auto Trait Implementations
impl Send for SizeConstraint
impl Unpin for SizeConstraint
impl Sync for SizeConstraint
impl UnwindSafe for SizeConstraint
impl RefUnwindSafe for SizeConstraint
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,