#[repr(C)]pub struct StyleBorderBottomRightRadius {
pub inner: PixelValue,
}Fields§
§inner: PixelValueImplementations§
Source§impl StyleBorderBottomRightRadius
impl StyleBorderBottomRightRadius
pub const fn zero() -> Self
pub const fn const_px(value: isize) -> Self
pub const fn const_em(value: isize) -> Self
pub const fn const_pt(value: isize) -> Self
pub const fn const_percent(value: isize) -> Self
pub const fn const_in(value: isize) -> Self
pub const fn const_cm(value: isize) -> Self
pub const fn const_mm(value: isize) -> Self
pub const fn const_from_metric(metric: SizeMetric, value: isize) -> Self
pub fn px(value: f32) -> Self
pub fn em(value: f32) -> Self
pub fn pt(value: f32) -> Self
pub fn percent(value: f32) -> Self
pub fn from_metric(metric: SizeMetric, value: f32) -> Self
pub fn interpolate(&self, other: &Self, t: f32) -> Self
Trait Implementations§
Source§impl Clone for StyleBorderBottomRightRadius
impl Clone for StyleBorderBottomRightRadius
Source§fn clone(&self) -> StyleBorderBottomRightRadius
fn clone(&self) -> StyleBorderBottomRightRadius
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 StyleBorderBottomRightRadius
impl Debug for StyleBorderBottomRightRadius
Source§impl Default for StyleBorderBottomRightRadius
impl Default for StyleBorderBottomRightRadius
Source§fn default() -> StyleBorderBottomRightRadius
fn default() -> StyleBorderBottomRightRadius
Returns the “default value” for a type. Read more
Source§impl FormatAsRustCode for StyleBorderBottomRightRadius
impl FormatAsRustCode for StyleBorderBottomRightRadius
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<StyleBorderBottomRightRadius> for CssProperty
impl From<StyleBorderBottomRightRadius> for CssProperty
Source§fn from(e: StyleBorderBottomRightRadius) -> Self
fn from(e: StyleBorderBottomRightRadius) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleBorderBottomRightRadius
impl Hash for StyleBorderBottomRightRadius
Source§impl Ord for StyleBorderBottomRightRadius
impl Ord for StyleBorderBottomRightRadius
Source§fn cmp(&self, other: &StyleBorderBottomRightRadius) -> Ordering
fn cmp(&self, other: &StyleBorderBottomRightRadius) -> 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 StyleBorderBottomRightRadius
impl PartialEq for StyleBorderBottomRightRadius
Source§fn eq(&self, other: &StyleBorderBottomRightRadius) -> bool
fn eq(&self, other: &StyleBorderBottomRightRadius) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StyleBorderBottomRightRadius
impl PartialOrd for StyleBorderBottomRightRadius
Source§impl PrintAsCssValue for StyleBorderBottomRightRadius
impl PrintAsCssValue for StyleBorderBottomRightRadius
fn print_as_css_value(&self) -> String
impl Copy for StyleBorderBottomRightRadius
impl Eq for StyleBorderBottomRightRadius
impl StructuralPartialEq for StyleBorderBottomRightRadius
Auto Trait Implementations§
impl Freeze for StyleBorderBottomRightRadius
impl RefUnwindSafe for StyleBorderBottomRightRadius
impl Send for StyleBorderBottomRightRadius
impl Sync for StyleBorderBottomRightRadius
impl Unpin for StyleBorderBottomRightRadius
impl UnwindSafe for StyleBorderBottomRightRadius
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