#[repr(C)]pub struct ShapeMargin {
pub inner: PixelValue,
}Fields§
§inner: PixelValueTrait Implementations§
Source§impl Clone for ShapeMargin
impl Clone for ShapeMargin
Source§fn clone(&self) -> ShapeMargin
fn clone(&self) -> ShapeMargin
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 ShapeMargin
impl Debug for ShapeMargin
Source§impl Default for ShapeMargin
impl Default for ShapeMargin
Source§impl FormatAsRustCode for ShapeMargin
impl FormatAsRustCode for ShapeMargin
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<ShapeMargin> for CssProperty
impl From<ShapeMargin> for CssProperty
Source§fn from(e: ShapeMargin) -> Self
fn from(e: ShapeMargin) -> Self
Converts to this type from the input type.
Source§impl Hash for ShapeMargin
impl Hash for ShapeMargin
Source§impl Ord for ShapeMargin
impl Ord for ShapeMargin
Source§fn cmp(&self, other: &ShapeMargin) -> Ordering
fn cmp(&self, other: &ShapeMargin) -> 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 PartialEq for ShapeMargin
impl PartialEq for ShapeMargin
Source§impl PartialOrd for ShapeMargin
impl PartialOrd for ShapeMargin
Source§impl PrintAsCssValue for ShapeMargin
impl PrintAsCssValue for ShapeMargin
fn print_as_css_value(&self) -> String
impl Copy for ShapeMargin
impl Eq for ShapeMargin
impl StructuralPartialEq for ShapeMargin
Auto Trait Implementations§
impl Freeze for ShapeMargin
impl RefUnwindSafe for ShapeMargin
impl Send for ShapeMargin
impl Sync for ShapeMargin
impl Unpin for ShapeMargin
impl UnwindSafe for ShapeMargin
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