Struct ambient_api_core::core::input::messages::MouseOverChanged
source · pub struct MouseOverChanged {
pub from_external: bool,
pub mouse_over: EntityId,
pub distance: f32,
}
Expand description
MouseOverChanged: Mouse over has been updated
Fields§
§from_external: bool
§mouse_over: EntityId
§distance: f32
Implementations§
Trait Implementations§
source§impl Clone for MouseOverChanged
impl Clone for MouseOverChanged
source§fn clone(&self) -> MouseOverChanged
fn clone(&self) -> MouseOverChanged
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 MouseOverChanged
impl Debug for MouseOverChanged
source§impl ModuleMessage for MouseOverChanged
impl ModuleMessage for MouseOverChanged
source§fn send_local_broadcast(&self, include_self: bool)
fn send_local_broadcast(&self, include_self: bool)
Sends a message to every package on this side. Read more
source§fn send_local(&self, target_id: EntityId)
fn send_local(&self, target_id: EntityId)
Sends a message to a specific package or module on this side.
source§fn send_server_unreliable(&self)
fn send_server_unreliable(&self)
Available on crate feature
client
only.Sends an unreliable message to the server. Read more
source§fn send_server_reliable(&self)
fn send_server_reliable(&self)
Available on crate feature
client
only.Sends a reliable message to the server. Read more
source§fn send_client_broadcast_unreliable(&self)
fn send_client_broadcast_unreliable(&self)
Available on crate feature
server
only.Sends an unreliable message to all clients. Read more
source§fn send_client_broadcast_reliable(&self)
fn send_client_broadcast_reliable(&self)
Available on crate feature
server
only.Sends a reliable message to all clients. Read more
source§fn send_client_targeted_unreliable(&self, user_id: String)
fn send_client_targeted_unreliable(&self, user_id: String)
Available on crate feature
server
only.Sends an unreliable message to a specific client. Read more
source§fn send_client_targeted_reliable(&self, user_id: String)
fn send_client_targeted_reliable(&self, user_id: String)
Available on crate feature
server
only.Sends a reliable message to a specific client. Read more
source§fn subscribe<R: CallbackReturn>(
callback: impl FnMut(MessageContext, Self) -> R + 'static
) -> Listener
fn subscribe<R: CallbackReturn>( callback: impl FnMut(MessageContext, Self) -> R + 'static ) -> Listener
Subscribes to this Message. Wrapper around self::subscribe.
impl Message for MouseOverChanged
Auto Trait Implementations§
impl RefUnwindSafe for MouseOverChanged
impl Send for MouseOverChanged
impl Sync for MouseOverChanged
impl Unpin for MouseOverChanged
impl UnwindSafe for MouseOverChanged
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