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 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