Struct webrender::border::BorderSideAu
source · pub struct BorderSideAu {
pub color: ColorU,
pub style: BorderStyle,
}
Fields§
§color: ColorU
§style: BorderStyle
Trait Implementations§
source§impl Clone for BorderSideAu
impl Clone for BorderSideAu
source§fn clone(&self) -> BorderSideAu
fn clone(&self) -> BorderSideAu
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 BorderSideAu
impl Debug for BorderSideAu
source§impl From<BorderSide> for BorderSideAu
impl From<BorderSide> for BorderSideAu
source§fn from(side: BorderSide) -> Self
fn from(side: BorderSide) -> Self
Converts to this type from the input type.
source§impl From<BorderSideAu> for BorderSide
impl From<BorderSideAu> for BorderSide
source§fn from(side: BorderSideAu) -> Self
fn from(side: BorderSideAu) -> Self
Converts to this type from the input type.
source§impl Hash for BorderSideAu
impl Hash for BorderSideAu
source§impl MallocSizeOf for BorderSideAu
impl MallocSizeOf for BorderSideAu
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 BorderSideAu
impl PartialEq for BorderSideAu
source§fn eq(&self, other: &BorderSideAu) -> bool
fn eq(&self, other: &BorderSideAu) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BorderSideAu
impl Serialize for BorderSideAu
impl Eq for BorderSideAu
impl StructuralPartialEq for BorderSideAu
Auto Trait Implementations§
impl Freeze for BorderSideAu
impl RefUnwindSafe for BorderSideAu
impl Send for BorderSideAu
impl Sync for BorderSideAu
impl Unpin for BorderSideAu
impl UnwindSafe for BorderSideAu
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