pub enum WindowHitTestRequestV1 {
Normal,
PassthroughAll,
PassthroughRegions {
regions: Vec<WindowHitTestRegionV1>,
},
}Variants§
Normal
Normal OS hit testing (default).
PassthroughAll
Window ignores pointer hit testing (click-through).
PassthroughRegions
Window is passthrough by default, but interactive within the union of regions.
Fields
§
regions: Vec<WindowHitTestRegionV1>Trait Implementations§
Source§impl Clone for WindowHitTestRequestV1
impl Clone for WindowHitTestRequestV1
Source§fn clone(&self) -> WindowHitTestRequestV1
fn clone(&self) -> WindowHitTestRequestV1
Returns a duplicate 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 WindowHitTestRequestV1
impl Debug for WindowHitTestRequestV1
Source§impl<'de> Deserialize<'de> for WindowHitTestRequestV1
impl<'de> Deserialize<'de> for WindowHitTestRequestV1
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 WindowHitTestRequestV1
impl PartialEq for WindowHitTestRequestV1
Source§impl Serialize for WindowHitTestRequestV1
impl Serialize for WindowHitTestRequestV1
impl StructuralPartialEq for WindowHitTestRequestV1
Auto Trait Implementations§
impl Freeze for WindowHitTestRequestV1
impl RefUnwindSafe for WindowHitTestRequestV1
impl Send for WindowHitTestRequestV1
impl Sync for WindowHitTestRequestV1
impl Unpin for WindowHitTestRequestV1
impl UnsafeUnpin for WindowHitTestRequestV1
impl UnwindSafe for WindowHitTestRequestV1
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