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