pub enum Clear {
Left,
Right,
Both,
None,
}Available on crate feature
float_layout only.Expand description
Gives a box “clearance”, which moves it below floated boxes which precede it in the tree.
Variants§
Left
The box clears left-floated boxes
Right
The box clears right-floated boxes
Both
The box clears boxes floated in either direction
None
The box does not clear floated boxes
Trait Implementations§
impl Copy for Clear
Source§impl<'de> Deserialize<'de> for Clear
Available on crate feature serde only.
impl<'de> Deserialize<'de> for Clear
Available on crate feature
serde only.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
impl Eq for Clear
impl StructuralPartialEq for Clear
Auto Trait Implementations§
impl Freeze for Clear
impl RefUnwindSafe for Clear
impl Send for Clear
impl Sync for Clear
impl Unpin for Clear
impl UnsafeUnpin for Clear
impl UnwindSafe for Clear
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