pub enum FloatStyleValue {
}Expand description
Represents the style value for float as defined in css-page-floats-3.
The float CSS property aligns an element to either side of its container, allowing text and inline elements to flow around it. The clear CSS property sets whether an element is moved below floating elements that proceed it.
The grammar is defined as:
block-start | block-end | inline-start | inline-end | snap-block | <snap-block()> | snap-inline | <snap-inline()> | left | right | top | bottom | noneVariants§
BlockStart(Ident)
BlockEnd(Ident)
InlineStart(Ident)
InlineEnd(Ident)
SnapBlock(Ident)
SnapBlockFunction(SnapBlockFunction)
SnapInline(Ident)
SnapInlineFunction(SnapInlineFunction)
Left(Ident)
Right(Ident)
Top(Ident)
Bottom(Ident)
None(Ident)
Trait Implementations§
Source§impl Clone for FloatStyleValue
impl Clone for FloatStyleValue
Source§fn clone(&self) -> FloatStyleValue
fn clone(&self) -> FloatStyleValue
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 FloatStyleValue
impl Debug for FloatStyleValue
Source§impl Hash for FloatStyleValue
impl Hash for FloatStyleValue
Source§impl Ord for FloatStyleValue
impl Ord for FloatStyleValue
Source§fn cmp(&self, other: &FloatStyleValue) -> Ordering
fn cmp(&self, other: &FloatStyleValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for FloatStyleValue
impl<'a> Parse<'a> for FloatStyleValue
Source§impl PartialEq for FloatStyleValue
impl PartialEq for FloatStyleValue
Source§impl PartialOrd for FloatStyleValue
impl PartialOrd for FloatStyleValue
Source§impl<'a> Peek<'a> for FloatStyleValue
impl<'a> Peek<'a> for FloatStyleValue
Source§impl ToCursors for FloatStyleValue
impl ToCursors for FloatStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for FloatStyleValue
impl StructuralPartialEq for FloatStyleValue
Auto Trait Implementations§
impl Freeze for FloatStyleValue
impl RefUnwindSafe for FloatStyleValue
impl Send for FloatStyleValue
impl Sync for FloatStyleValue
impl Unpin for FloatStyleValue
impl UnwindSafe for FloatStyleValue
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