#[non_exhaustive]pub enum ContainerType {
InlineSize,
Normal,
ScrollState,
Size,
Raw(Raw),
}Expand description
A value of container-type.
Variants (Non-exhaustive)§
This enum is marked as 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.
InlineSize
inline-size.
Normal
normal.
ScrollState
scroll-state.
Size
size.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for ContainerType
impl Clone for ContainerType
Source§fn clone(&self) -> ContainerType
fn clone(&self) -> ContainerType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContainerType
impl Debug for ContainerType
Source§impl Display for ContainerType
impl Display for ContainerType
Source§impl From<Raw> for ContainerType
impl From<Raw> for ContainerType
Source§impl PartialEq for ContainerType
impl PartialEq for ContainerType
impl StructuralPartialEq for ContainerType
Auto Trait Implementations§
impl Freeze for ContainerType
impl RefUnwindSafe for ContainerType
impl Send for ContainerType
impl Sync for ContainerType
impl Unpin for ContainerType
impl UnsafeUnpin for ContainerType
impl UnwindSafe for ContainerType
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