pub struct ClearRectangleDisplayItem {
pub common: CommonItemProperties,
pub bounds: LayoutRect,
}
Expand description
Clears all colors from the area, making it possible to cut holes in the window. (useful for things like the macos frosted-glass effect).
Fields§
§common: CommonItemProperties
§bounds: LayoutRect
Trait Implementations§
source§impl Clone for ClearRectangleDisplayItem
impl Clone for ClearRectangleDisplayItem
source§fn clone(&self) -> ClearRectangleDisplayItem
fn clone(&self) -> ClearRectangleDisplayItem
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 ClearRectangleDisplayItem
impl Debug for ClearRectangleDisplayItem
source§impl Default for ClearRectangleDisplayItem
impl Default for ClearRectangleDisplayItem
source§fn default() -> ClearRectangleDisplayItem
fn default() -> ClearRectangleDisplayItem
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClearRectangleDisplayItem
impl<'de> Deserialize<'de> for ClearRectangleDisplayItem
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 ClearRectangleDisplayItem
impl PartialEq for ClearRectangleDisplayItem
source§fn eq(&self, other: &ClearRectangleDisplayItem) -> bool
fn eq(&self, other: &ClearRectangleDisplayItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Peek for ClearRectangleDisplayItem
impl Peek for ClearRectangleDisplayItem
source§impl Poke for ClearRectangleDisplayItem
impl Poke for ClearRectangleDisplayItem
impl Copy for ClearRectangleDisplayItem
impl StructuralPartialEq for ClearRectangleDisplayItem
Auto Trait Implementations§
impl Freeze for ClearRectangleDisplayItem
impl RefUnwindSafe for ClearRectangleDisplayItem
impl Send for ClearRectangleDisplayItem
impl Sync for ClearRectangleDisplayItem
impl Unpin for ClearRectangleDisplayItem
impl UnwindSafe for ClearRectangleDisplayItem
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