#[repr(i32)]pub enum StretchDirection {
UpOnly = 0,
DownOnly = 1,
Both = 2,
}Expand description
Describes the type of scaling that can be used when scaling content.
Variants§
Trait Implementations§
Source§impl Clone for StretchDirection
impl Clone for StretchDirection
impl Copy for StretchDirection
Source§impl Debug for StretchDirection
impl Debug for StretchDirection
Source§impl Default for StretchDirection
impl Default for StretchDirection
impl Eq for StretchDirection
Source§impl Hash for StretchDirection
impl Hash for StretchDirection
Source§impl MarkupTyped for StretchDirection
impl MarkupTyped for StretchDirection
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for StretchDirection
impl PartialEq for StretchDirection
impl StructuralPartialEq for StretchDirection
Auto Trait Implementations§
impl Freeze for StretchDirection
impl RefUnwindSafe for StretchDirection
impl Send for StretchDirection
impl Sync for StretchDirection
impl Unpin for StretchDirection
impl UnsafeUnpin for StretchDirection
impl UnwindSafe for StretchDirection
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more