Struct webrender_api::display_item::BorderSide
source · #[repr(C)]pub struct BorderSide {
pub color: ColorF,
pub style: BorderStyle,
}
Fields§
§color: ColorF
§style: BorderStyle
Trait Implementations§
source§impl Clone for BorderSide
impl Clone for BorderSide
source§fn clone(&self) -> BorderSide
fn clone(&self) -> BorderSide
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 BorderSide
impl Debug for BorderSide
source§impl Default for BorderSide
impl Default for BorderSide
source§fn default() -> BorderSide
fn default() -> BorderSide
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BorderSide
impl<'de> Deserialize<'de> for BorderSide
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl MallocSizeOf for BorderSide
impl MallocSizeOf for BorderSide
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 BorderSide
impl PartialEq for BorderSide
source§fn eq(&self, other: &BorderSide) -> bool
fn eq(&self, other: &BorderSide) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Peek for BorderSide
impl Peek for BorderSide
source§impl Poke for BorderSide
impl Poke for BorderSide
source§impl Serialize for BorderSide
impl Serialize for BorderSide
impl Copy for BorderSide
impl StructuralPartialEq for BorderSide
Auto Trait Implementations§
impl Freeze for BorderSide
impl RefUnwindSafe for BorderSide
impl Send for BorderSide
impl Sync for BorderSide
impl Unpin for BorderSide
impl UnwindSafe for BorderSide
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