#[repr(C)]pub struct StyleOverflowClipMargin {
pub clip_edge: VisualBox,
pub inner: PixelValue,
}Expand description
Represents the overflow-clip-margin CSS property.
Determines how far outside the element’s box the content may paint
before being clipped when overflow: clip is used.
Syntax: <visual-box> || <length [0,∞]>
Fields§
§clip_edge: VisualBoxThe box edge to use as the clip origin (content-box, padding-box, or border-box).
inner: PixelValueThe clip margin distance beyond the clip edge.
Trait Implementations§
Source§impl Clone for StyleOverflowClipMargin
impl Clone for StyleOverflowClipMargin
Source§fn clone(&self) -> StyleOverflowClipMargin
fn clone(&self) -> StyleOverflowClipMargin
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 StyleOverflowClipMargin
impl Debug for StyleOverflowClipMargin
Source§impl Default for StyleOverflowClipMargin
impl Default for StyleOverflowClipMargin
Source§fn default() -> StyleOverflowClipMargin
fn default() -> StyleOverflowClipMargin
Returns the “default value” for a type. Read more
Source§impl FormatAsRustCode for StyleOverflowClipMargin
impl FormatAsRustCode for StyleOverflowClipMargin
fn format_as_rust_code(&self, tabs: usize) -> String
Source§impl From<StyleOverflowClipMargin> for CssProperty
impl From<StyleOverflowClipMargin> for CssProperty
Source§fn from(e: StyleOverflowClipMargin) -> Self
fn from(e: StyleOverflowClipMargin) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleOverflowClipMargin
impl Hash for StyleOverflowClipMargin
Source§impl Ord for StyleOverflowClipMargin
impl Ord for StyleOverflowClipMargin
Source§fn cmp(&self, other: &StyleOverflowClipMargin) -> Ordering
fn cmp(&self, other: &StyleOverflowClipMargin) -> Ordering
1.21.0 (const: unstable) · 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 PartialEq for StyleOverflowClipMargin
impl PartialEq for StyleOverflowClipMargin
Source§fn eq(&self, other: &StyleOverflowClipMargin) -> bool
fn eq(&self, other: &StyleOverflowClipMargin) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StyleOverflowClipMargin
impl PartialOrd for StyleOverflowClipMargin
Source§impl PrintAsCssValue for StyleOverflowClipMargin
impl PrintAsCssValue for StyleOverflowClipMargin
fn print_as_css_value(&self) -> String
impl Copy for StyleOverflowClipMargin
impl Eq for StyleOverflowClipMargin
impl StructuralPartialEq for StyleOverflowClipMargin
Auto Trait Implementations§
impl Freeze for StyleOverflowClipMargin
impl RefUnwindSafe for StyleOverflowClipMargin
impl Send for StyleOverflowClipMargin
impl Sync for StyleOverflowClipMargin
impl Unpin for StyleOverflowClipMargin
impl UnsafeUnpin for StyleOverflowClipMargin
impl UnwindSafe for StyleOverflowClipMargin
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