pub struct ObjectViewBoxStyleValue(pub NoneOr<BasicShapeRect>);Expand description
Represents the style value for object-view-box as defined in css-images-5.
The object-view-box CSS property crops and zooms to an inset area of an image.
The grammar is defined as:
none | <basic-shape-rect>Tuple Fields§
§0: NoneOr<BasicShapeRect>Trait Implementations§
Source§impl Clone for ObjectViewBoxStyleValue
impl Clone for ObjectViewBoxStyleValue
Source§fn clone(&self) -> ObjectViewBoxStyleValue
fn clone(&self) -> ObjectViewBoxStyleValue
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 ObjectViewBoxStyleValue
impl Debug for ObjectViewBoxStyleValue
Source§impl Hash for ObjectViewBoxStyleValue
impl Hash for ObjectViewBoxStyleValue
Source§impl Ord for ObjectViewBoxStyleValue
impl Ord for ObjectViewBoxStyleValue
Source§fn cmp(&self, other: &ObjectViewBoxStyleValue) -> Ordering
fn cmp(&self, other: &ObjectViewBoxStyleValue) -> 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 ObjectViewBoxStyleValue
impl<'a> Parse<'a> for ObjectViewBoxStyleValue
Source§impl PartialEq for ObjectViewBoxStyleValue
impl PartialEq for ObjectViewBoxStyleValue
Source§impl PartialOrd for ObjectViewBoxStyleValue
impl PartialOrd for ObjectViewBoxStyleValue
Source§impl<'a> Peek<'a> for ObjectViewBoxStyleValue
impl<'a> Peek<'a> for ObjectViewBoxStyleValue
Source§impl ToCursors for ObjectViewBoxStyleValue
impl ToCursors for ObjectViewBoxStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ObjectViewBoxStyleValue
impl StructuralPartialEq for ObjectViewBoxStyleValue
Auto Trait Implementations§
impl Freeze for ObjectViewBoxStyleValue
impl RefUnwindSafe for ObjectViewBoxStyleValue
impl Send for ObjectViewBoxStyleValue
impl Sync for ObjectViewBoxStyleValue
impl Unpin for ObjectViewBoxStyleValue
impl UnwindSafe for ObjectViewBoxStyleValue
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