Struct parcel_css::properties::border_radius::BorderRadius
source · [−]pub struct BorderRadius {
pub top_left: Size2D<LengthPercentage>,
pub top_right: Size2D<LengthPercentage>,
pub bottom_left: Size2D<LengthPercentage>,
pub bottom_right: Size2D<LengthPercentage>,
}
Fields
top_left: Size2D<LengthPercentage>
top_right: Size2D<LengthPercentage>
bottom_left: Size2D<LengthPercentage>
bottom_right: Size2D<LengthPercentage>
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BorderRadius
impl Send for BorderRadius
impl Sync for BorderRadius
impl Unpin for BorderRadius
impl UnwindSafe for BorderRadius
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more