pub struct BorderRadius<T>(pub T)
where
T: Clone + Debug + Display + PartialEq + UnitDataType<Self>;Expand description
Tuple Fields§
§0: TImplementations§
Trait Implementations§
Source§impl AbsoluteLengthStorage for BorderRadius<BorderRadiusValue>
impl AbsoluteLengthStorage for BorderRadius<BorderRadiusValue>
fn absolute_length(value: AbsoluteLength) -> Selfwhere
Self: Sized,
Source§impl<T> Clone for BorderRadius<T>
impl<T> Clone for BorderRadius<T>
Source§fn clone(&self) -> BorderRadius<T>
fn clone(&self) -> BorderRadius<T>
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 ContainerLengthStorage for BorderRadius<BorderRadiusValue>
impl ContainerLengthStorage for BorderRadius<BorderRadiusValue>
fn container_length(value: ContainerLength) -> Selfwhere
Self: Sized,
Source§impl<T> Debug for BorderRadius<T>
impl<T> Debug for BorderRadius<T>
Source§impl Default for BorderRadius<BorderRadiusValue>
impl Default for BorderRadius<BorderRadiusValue>
Source§impl<T> Display for BorderRadius<T>
impl<T> Display for BorderRadius<T>
Source§impl EmStorage for BorderRadius<BorderRadiusValue>
impl EmStorage for BorderRadius<BorderRadiusValue>
Source§impl ExStorage for BorderRadius<BorderRadiusValue>
impl ExStorage for BorderRadius<BorderRadiusValue>
Source§impl FontLengthStorage for BorderRadius<BorderRadiusValue>
impl FontLengthStorage for BorderRadius<BorderRadiusValue>
fn font_length(value: FontLength) -> Selfwhere
Self: Sized,
Source§impl<T> From<T> for BorderRadius<BorderRadiusValue>where
T: Into<LengthPercentage>,
impl<T> From<T> for BorderRadius<BorderRadiusValue>where
T: Into<LengthPercentage>,
Source§impl<T> From<T> for BorderRadius<T>
impl<T> From<T> for BorderRadius<T>
Source§impl IcStorage for BorderRadius<BorderRadiusValue>
impl IcStorage for BorderRadius<BorderRadiusValue>
Source§impl InchStorage for BorderRadius<BorderRadiusValue>
impl InchStorage for BorderRadius<BorderRadiusValue>
Source§impl LengthPercentageStorage for BorderRadius<BorderRadiusValue>
impl LengthPercentageStorage for BorderRadius<BorderRadiusValue>
fn length_percentage(value: LengthPercentage) -> Selfwhere
Self: Sized,
Source§impl<T> PartialEq for BorderRadius<T>
impl<T> PartialEq for BorderRadius<T>
Source§impl PicaStorage for BorderRadius<BorderRadiusValue>
impl PicaStorage for BorderRadius<BorderRadiusValue>
Source§impl PixelStorage for BorderRadius<BorderRadiusValue>
impl PixelStorage for BorderRadius<BorderRadiusValue>
Source§impl PointStorage for BorderRadius<BorderRadiusValue>
impl PointStorage for BorderRadius<BorderRadiusValue>
Source§impl<T> Property for BorderRadius<T>
impl<T> Property for BorderRadius<T>
Source§fn declaration(&self) -> String
fn declaration(&self) -> String
Returns the stringified property name with its value
as a CSS declaration to be used within a declaration block. Read more
Source§impl<T> PropertyName for BorderRadius<T>
impl<T> PropertyName for BorderRadius<T>
fn property_name<'a>(&self) -> &'a str
Source§impl RelativeLengthStorage for BorderRadius<BorderRadiusValue>
impl RelativeLengthStorage for BorderRadius<BorderRadiusValue>
fn relative_length(value: RelativeLength) -> Selfwhere
Self: Sized,
Source§impl ViewportLengthStorage for BorderRadius<BorderRadiusValue>
impl ViewportLengthStorage for BorderRadius<BorderRadiusValue>
fn viewport_length(value: ViewportLength) -> Selfwhere
Self: Sized,
impl<T> StructuralPartialEq for BorderRadius<T>
impl UnitDataType<BorderRadius<BorderRadiusValue>> for BorderRadiusValue
impl UnitDataType<BorderRadius<Nothing>> for Nothing
impl<T> UnitDataType<BorderRadius<Var<T>>> for Var<T>
impl<T> UnitDataTypeContainer<T> for BorderRadius<T>
Auto Trait Implementations§
impl<T> Freeze for BorderRadius<T>where
T: Freeze,
impl<T> RefUnwindSafe for BorderRadius<T>where
T: RefUnwindSafe,
impl<T> Send for BorderRadius<T>where
T: Send,
impl<T> Sync for BorderRadius<T>where
T: Sync,
impl<T> Unpin for BorderRadius<T>where
T: Unpin,
impl<T> UnwindSafe for BorderRadius<T>where
T: UnwindSafe,
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