#[non_exhaustive]pub enum Contain {
Content,
InlineSize,
Layout,
None,
Paint,
Size,
Strict,
Style,
Raw(Raw),
}Expand description
A value of contain.
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.
Content
content.
InlineSize
inline-size.
Layout
layout.
None
none.
Paint
paint.
Size
size.
Strict
strict.
Style
style.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
impl StructuralPartialEq for Contain
Auto Trait Implementations§
impl Freeze for Contain
impl RefUnwindSafe for Contain
impl Send for Contain
impl Sync for Contain
impl Unpin for Contain
impl UnsafeUnpin for Contain
impl UnwindSafe for Contain
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