pub enum ConstraintMode {
Min,
Max,
Stretch,
Center,
Scale,
}Variants§
Trait Implementations§
Source§impl Clone for ConstraintMode
impl Clone for ConstraintMode
Source§fn clone(&self) -> ConstraintMode
fn clone(&self) -> ConstraintMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConstraintMode
impl Debug for ConstraintMode
Source§impl<'de> Deserialize<'de> for ConstraintMode
impl<'de> Deserialize<'de> for ConstraintMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ConstraintMode
impl PartialEq for ConstraintMode
Source§impl Serialize for ConstraintMode
impl Serialize for ConstraintMode
impl StructuralPartialEq for ConstraintMode
Auto Trait Implementations§
impl Freeze for ConstraintMode
impl RefUnwindSafe for ConstraintMode
impl Send for ConstraintMode
impl Sync for ConstraintMode
impl Unpin for ConstraintMode
impl UnsafeUnpin for ConstraintMode
impl UnwindSafe for ConstraintMode
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