pub struct ShapeImageThresholdStyleValue(pub OpacityValue);Expand description
Represents the style value for shape-image-threshold as defined in css-shapes-2.
The shape-outside CSS property, along with shape-margin and shape-image-threshold, sets the shape around which adjacent content will wrap.
The grammar is defined as:
<opacity-value>Tuple Fields§
§0: OpacityValueTrait Implementations§
Source§impl Clone for ShapeImageThresholdStyleValue
impl Clone for ShapeImageThresholdStyleValue
Source§fn clone(&self) -> ShapeImageThresholdStyleValue
fn clone(&self) -> ShapeImageThresholdStyleValue
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 Hash for ShapeImageThresholdStyleValue
impl Hash for ShapeImageThresholdStyleValue
Source§impl Ord for ShapeImageThresholdStyleValue
impl Ord for ShapeImageThresholdStyleValue
Source§fn cmp(&self, other: &ShapeImageThresholdStyleValue) -> Ordering
fn cmp(&self, other: &ShapeImageThresholdStyleValue) -> 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 ShapeImageThresholdStyleValue
impl<'a> Parse<'a> for ShapeImageThresholdStyleValue
Source§impl PartialEq for ShapeImageThresholdStyleValue
impl PartialEq for ShapeImageThresholdStyleValue
Source§fn eq(&self, other: &ShapeImageThresholdStyleValue) -> bool
fn eq(&self, other: &ShapeImageThresholdStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ShapeImageThresholdStyleValue
impl PartialOrd for ShapeImageThresholdStyleValue
Source§impl<'a> Peek<'a> for ShapeImageThresholdStyleValue
impl<'a> Peek<'a> for ShapeImageThresholdStyleValue
Source§impl ToCursors for ShapeImageThresholdStyleValue
impl ToCursors for ShapeImageThresholdStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ShapeImageThresholdStyleValue
impl StructuralPartialEq for ShapeImageThresholdStyleValue
Auto Trait Implementations§
impl Freeze for ShapeImageThresholdStyleValue
impl RefUnwindSafe for ShapeImageThresholdStyleValue
impl Send for ShapeImageThresholdStyleValue
impl Sync for ShapeImageThresholdStyleValue
impl Unpin for ShapeImageThresholdStyleValue
impl UnwindSafe for ShapeImageThresholdStyleValue
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