pub struct SetBlockingCursor {
pub cursor: Option<Cursor>,
}Expand description
Set cursor of a window being input captured
Fields§
§cursor: Option<Cursor>Cursor to be set.
If None is given, the cursor will be hidden.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for SetBlockingCursor
impl<'__de, __Context> BorrowDecode<'__de, __Context> for SetBlockingCursor
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 SetBlockingCursor
impl Clone for SetBlockingCursor
Source§fn clone(&self) -> SetBlockingCursor
fn clone(&self) -> SetBlockingCursor
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 SetBlockingCursor
impl Debug for SetBlockingCursor
Source§impl<__Context> Decode<__Context> for SetBlockingCursor
impl<__Context> Decode<__Context> for SetBlockingCursor
Source§impl Default for SetBlockingCursor
impl Default for SetBlockingCursor
Source§fn default() -> SetBlockingCursor
fn default() -> SetBlockingCursor
Returns the “default value” for a type. Read more
Source§impl Encode for SetBlockingCursor
impl Encode for SetBlockingCursor
impl Eq for SetBlockingCursor
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 PartialEq for SetBlockingCursor
impl PartialEq for SetBlockingCursor
Source§fn eq(&self, other: &SetBlockingCursor) -> bool
fn eq(&self, other: &SetBlockingCursor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetBlockingCursor
impl WindowRequestItem for SetBlockingCursor
Auto Trait Implementations§
impl Freeze for SetBlockingCursor
impl RefUnwindSafe for SetBlockingCursor
impl Send for SetBlockingCursor
impl Sync for SetBlockingCursor
impl Unpin for SetBlockingCursor
impl UnsafeUnpin for SetBlockingCursor
impl UnwindSafe for SetBlockingCursor
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