Enum ux::RequestMode [−][src]
#[non_exhaustive] pub enum RequestMode { HeightForWidth, WidthForHeight, ContentSize, // some variants omitted }
Specifies the type of requests for a Actor
.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Height for width requests
Width for height requests
Use the preferred size of the
Content
, if it has any (available since 1.22)
Trait Implementations
impl Clone for RequestMode
[src]
impl Clone for RequestMode
[src]pub fn clone(&self) -> RequestMode
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for RequestMode
[src]
impl Copy for RequestMode
[src]impl Eq for RequestMode
[src]
impl Eq for RequestMode
[src]impl<'a> FromValue<'a> for RequestMode
[src]
impl<'a> FromValue<'a> for RequestMode
[src]pub unsafe fn from_value(value: &Value) -> RequestMode
[src]
impl<'a> FromValueOptional<'a> for RequestMode
[src]
impl<'a> FromValueOptional<'a> for RequestMode
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<RequestMode>
[src]
impl Hash for RequestMode
[src]
impl Hash for RequestMode
[src]impl Ord for RequestMode
[src]
impl Ord for RequestMode
[src]impl PartialEq<RequestMode> for RequestMode
[src]
impl PartialEq<RequestMode> for RequestMode
[src]pub fn eq(&self, other: &RequestMode) -> bool
[src]
pub fn ne(&self, other: &RequestMode) -> bool
[src]
impl PartialOrd<RequestMode> for RequestMode
[src]
impl PartialOrd<RequestMode> for RequestMode
[src]pub fn partial_cmp(&self, other: &RequestMode) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl SetValue for RequestMode
[src]
impl SetValue for RequestMode
[src]pub unsafe fn set_value(value: &mut Value, this: &RequestMode)
[src]
impl StaticType for RequestMode
[src]
impl StaticType for RequestMode
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for RequestMode
[src]
impl StructuralEq for RequestMode
[src]impl StructuralPartialEq for RequestMode
[src]
impl StructuralPartialEq for RequestMode
[src]Auto Trait Implementations
impl RefUnwindSafe for RequestMode
impl RefUnwindSafe for RequestMode
impl Send for RequestMode
impl Send for RequestMode
impl Sync for RequestMode
impl Sync for RequestMode
impl Unpin for RequestMode
impl Unpin for RequestMode
impl UnwindSafe for RequestMode
impl UnwindSafe for RequestMode
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,