Struct webrender_api::display_item::BorderDisplayItem
source · pub struct BorderDisplayItem {
pub common: CommonItemProperties,
pub bounds: LayoutRect,
pub widths: LayoutSideOffsets,
pub details: BorderDetails,
}
Fields§
§common: CommonItemProperties
§bounds: LayoutRect
§widths: LayoutSideOffsets
§details: BorderDetails
Trait Implementations§
source§impl Clone for BorderDisplayItem
impl Clone for BorderDisplayItem
source§fn clone(&self) -> BorderDisplayItem
fn clone(&self) -> BorderDisplayItem
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 BorderDisplayItem
impl Debug for BorderDisplayItem
source§impl Default for BorderDisplayItem
impl Default for BorderDisplayItem
source§fn default() -> BorderDisplayItem
fn default() -> BorderDisplayItem
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BorderDisplayItem
impl<'de> Deserialize<'de> for BorderDisplayItem
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 PartialEq for BorderDisplayItem
impl PartialEq for BorderDisplayItem
source§fn eq(&self, other: &BorderDisplayItem) -> bool
fn eq(&self, other: &BorderDisplayItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Peek for BorderDisplayItem
impl Peek for BorderDisplayItem
source§impl Poke for BorderDisplayItem
impl Poke for BorderDisplayItem
source§impl Serialize for BorderDisplayItem
impl Serialize for BorderDisplayItem
impl Copy for BorderDisplayItem
impl StructuralPartialEq for BorderDisplayItem
Auto Trait Implementations§
impl Freeze for BorderDisplayItem
impl RefUnwindSafe for BorderDisplayItem
impl Send for BorderDisplayItem
impl Sync for BorderDisplayItem
impl Unpin for BorderDisplayItem
impl UnwindSafe for BorderDisplayItem
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