Struct webrender::border::BorderRadiusAu
source · pub struct BorderRadiusAu {
pub top_left: LayoutSizeAu,
pub top_right: LayoutSizeAu,
pub bottom_left: LayoutSizeAu,
pub bottom_right: LayoutSizeAu,
}
Fields§
§top_left: LayoutSizeAu
§top_right: LayoutSizeAu
§bottom_left: LayoutSizeAu
§bottom_right: LayoutSizeAu
Trait Implementations§
source§impl Clone for BorderRadiusAu
impl Clone for BorderRadiusAu
source§fn clone(&self) -> BorderRadiusAu
fn clone(&self) -> BorderRadiusAu
Returns a copy 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 BorderRadiusAu
impl Debug for BorderRadiusAu
source§impl From<BorderRadius> for BorderRadiusAu
impl From<BorderRadius> for BorderRadiusAu
source§fn from(radius: BorderRadius) -> BorderRadiusAu
fn from(radius: BorderRadius) -> BorderRadiusAu
Converts to this type from the input type.
source§impl From<BorderRadiusAu> for BorderRadius
impl From<BorderRadiusAu> for BorderRadius
source§fn from(radius: BorderRadiusAu) -> Self
fn from(radius: BorderRadiusAu) -> Self
Converts to this type from the input type.
source§impl Hash for BorderRadiusAu
impl Hash for BorderRadiusAu
source§impl MallocSizeOf for BorderRadiusAu
impl MallocSizeOf for BorderRadiusAu
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl PartialEq for BorderRadiusAu
impl PartialEq for BorderRadiusAu
source§fn eq(&self, other: &BorderRadiusAu) -> bool
fn eq(&self, other: &BorderRadiusAu) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BorderRadiusAu
impl Serialize for BorderRadiusAu
impl Copy for BorderRadiusAu
impl Eq for BorderRadiusAu
impl StructuralPartialEq for BorderRadiusAu
Auto Trait Implementations§
impl Freeze for BorderRadiusAu
impl RefUnwindSafe for BorderRadiusAu
impl Send for BorderRadiusAu
impl Sync for BorderRadiusAu
impl Unpin for BorderRadiusAu
impl UnwindSafe for BorderRadiusAu
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more