#[non_exhaustive]pub enum ShapeOutside {
BorderBox,
ContentBox,
MarginBox,
None,
PaddingBox,
Url(Url),
Raw(Raw),
}Expand description
A value of shape-outside.
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.
BorderBox
border-box.
ContentBox
content-box.
MarginBox
margin-box.
None
none.
PaddingBox
padding-box.
Url(Url)
A URL.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for ShapeOutside
impl Clone for ShapeOutside
Source§fn clone(&self) -> ShapeOutside
fn clone(&self) -> ShapeOutside
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 ShapeOutside
impl Debug for ShapeOutside
Source§impl Display for ShapeOutside
impl Display for ShapeOutside
Source§impl From<Raw> for ShapeOutside
impl From<Raw> for ShapeOutside
Source§impl From<Url> for ShapeOutside
impl From<Url> for ShapeOutside
Source§impl PartialEq for ShapeOutside
impl PartialEq for ShapeOutside
impl StructuralPartialEq for ShapeOutside
Auto Trait Implementations§
impl Freeze for ShapeOutside
impl RefUnwindSafe for ShapeOutside
impl Send for ShapeOutside
impl Sync for ShapeOutside
impl Unpin for ShapeOutside
impl UnsafeUnpin for ShapeOutside
impl UnwindSafe for ShapeOutside
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