Struct ambient_api_core::core::messages::WindowCursorLockChange
source · pub struct WindowCursorLockChange {
pub locked: bool,
}
Expand description
WindowCursorLockChange: Sent when the window’s cursor lock changes.
Fields§
§locked: bool
Implementations§
Trait Implementations§
source§impl Clone for WindowCursorLockChange
impl Clone for WindowCursorLockChange
source§fn clone(&self) -> WindowCursorLockChange
fn clone(&self) -> WindowCursorLockChange
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 WindowCursorLockChange
impl Debug for WindowCursorLockChange
source§impl RuntimeMessage for WindowCursorLockChange
impl RuntimeMessage for WindowCursorLockChange
source§fn subscribe<R: CallbackReturn>(
callback: impl FnMut(Self) -> R + 'static
) -> Listener
fn subscribe<R: CallbackReturn>( callback: impl FnMut(Self) -> R + 'static ) -> Listener
Subscribes to this Message. Wrapper around self::subscribe.
impl Message for WindowCursorLockChange
Auto Trait Implementations§
impl RefUnwindSafe for WindowCursorLockChange
impl Send for WindowCursorLockChange
impl Sync for WindowCursorLockChange
impl Unpin for WindowCursorLockChange
impl UnwindSafe for WindowCursorLockChange
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