pub enum DefaultSizeBinding {
None,
ExpandsToParentGeometry,
ImplicitSize,
}
Variants§
None
There should not be a default binding for the size
ExpandsToParentGeometry
The size should default to width:100%; height:100%
ImplicitSize
The size should default to the item’s implicit size
Trait Implementations§
Source§impl Clone for DefaultSizeBinding
impl Clone for DefaultSizeBinding
Source§fn clone(&self) -> DefaultSizeBinding
fn clone(&self) -> DefaultSizeBinding
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 DefaultSizeBinding
impl Debug for DefaultSizeBinding
Source§impl Default for DefaultSizeBinding
impl Default for DefaultSizeBinding
impl Copy for DefaultSizeBinding
Auto Trait Implementations§
impl Freeze for DefaultSizeBinding
impl RefUnwindSafe for DefaultSizeBinding
impl Send for DefaultSizeBinding
impl Sync for DefaultSizeBinding
impl Unpin for DefaultSizeBinding
impl UnwindSafe for DefaultSizeBinding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more