pub struct UiEvent {
pub document: UiDocumentId,
pub revision: u64,
pub node: UiNodeId,
pub action: UiEventAction,
}Expand description
Input reported by a platform adapter for a specific document revision.
Fields§
§document: UiDocumentIdDocument that the adapter displayed.
revision: u64Document revision displayed by the adapter, serialized as a decimal string.
node: UiNodeIdNode receiving the event.
action: UiEventActionTyped input and requested semantic action.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UiEvent
impl<'de> Deserialize<'de> for UiEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for UiEvent
Auto Trait Implementations§
impl Freeze for UiEvent
impl RefUnwindSafe for UiEvent
impl Send for UiEvent
impl Sync for UiEvent
impl Unpin for UiEvent
impl UnsafeUnpin for UiEvent
impl UnwindSafe for UiEvent
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