Struct ambient_api_core::core::messages::WindowKeyboardCharacter
source · pub struct WindowKeyboardCharacter {
pub character: String,
}
Expand description
WindowKeyboardCharacter: Sent when the window receives a character from the keyboard.
Fields§
§character: String
Implementations§
Trait Implementations§
source§impl Clone for WindowKeyboardCharacter
impl Clone for WindowKeyboardCharacter
source§fn clone(&self) -> WindowKeyboardCharacter
fn clone(&self) -> WindowKeyboardCharacter
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 WindowKeyboardCharacter
impl Debug for WindowKeyboardCharacter
source§impl RuntimeMessage for WindowKeyboardCharacter
impl RuntimeMessage for WindowKeyboardCharacter
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 WindowKeyboardCharacter
Auto Trait Implementations§
impl RefUnwindSafe for WindowKeyboardCharacter
impl Send for WindowKeyboardCharacter
impl Sync for WindowKeyboardCharacter
impl Unpin for WindowKeyboardCharacter
impl UnwindSafe for WindowKeyboardCharacter
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