pub enum WindowRequest {
SetPosition(SetPosition),
SetAnchor(SetAnchor),
SetMargin(SetMargin),
ListenInput(ListenInput),
BlockInput(BlockInput),
SetBlockingCursor(SetBlockingCursor),
UpdateSharedHandle(UpdateSharedHandle),
}Expand description
Describes a request to a specific window.
Variants§
SetPosition(SetPosition)
Set overlay surface position.
SetAnchor(SetAnchor)
Set overlay surface positioning anchor.
SetMargin(SetMargin)
Set overlay surface margin.
ListenInput(ListenInput)
Change whether to listen input events.
BlockInput(BlockInput)
Whether to block input events from reaching window and listen all input events.
SetBlockingCursor(SetBlockingCursor)
Set cursor of a window when being input blocked.
Set overlay surface shared handle.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for WindowRequest
impl<'__de, __Context> BorrowDecode<'__de, __Context> for WindowRequest
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for WindowRequest
impl Clone for WindowRequest
Source§fn clone(&self) -> WindowRequest
fn clone(&self) -> WindowRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WindowRequest
impl Debug for WindowRequest
Source§impl<__Context> Decode<__Context> for WindowRequest
impl<__Context> Decode<__Context> for WindowRequest
Source§impl Encode for WindowRequest
impl Encode for WindowRequest
Source§impl From<BlockInput> for WindowRequest
impl From<BlockInput> for WindowRequest
Source§fn from(value: BlockInput) -> Self
fn from(value: BlockInput) -> Self
Converts to this type from the input type.
Source§impl From<ListenInput> for WindowRequest
impl From<ListenInput> for WindowRequest
Source§fn from(value: ListenInput) -> Self
fn from(value: ListenInput) -> Self
Converts to this type from the input type.
Source§impl From<SetAnchor> for WindowRequest
impl From<SetAnchor> for WindowRequest
Source§impl From<SetBlockingCursor> for WindowRequest
impl From<SetBlockingCursor> for WindowRequest
Source§fn from(value: SetBlockingCursor) -> Self
fn from(value: SetBlockingCursor) -> Self
Converts to this type from the input type.
Source§impl From<SetMargin> for WindowRequest
impl From<SetMargin> for WindowRequest
Source§impl From<SetPosition> for WindowRequest
impl From<SetPosition> for WindowRequest
Source§fn from(value: SetPosition) -> Self
fn from(value: SetPosition) -> Self
Converts to this type from the input type.
Source§fn from(value: UpdateSharedHandle) -> Self
fn from(value: UpdateSharedHandle) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WindowRequest
impl RefUnwindSafe for WindowRequest
impl Send for WindowRequest
impl Sync for WindowRequest
impl Unpin for WindowRequest
impl UnsafeUnpin for WindowRequest
impl UnwindSafe for WindowRequest
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