pub struct GateInput<'a> {Show 13 fields
pub op: &'a ElementOp,
pub index: u32,
pub require_visible: bool,
pub app_label: &'a str,
pub cached: &'a SigNode,
pub cached_revision: u64,
pub cached_pid: i32,
pub cached_window: u32,
pub resolved_pid: i32,
pub resolved_window: u32,
pub live: &'a UiNode,
pub live_pid: i32,
pub live_window: u32,
}Expand description
Inputs gate needs. The live node is the re-fetched tree.
Fields§
§op: &'a ElementOpRequested operation.
index: u32Caller index.
require_visible: bool--require-visible.
app_label: &'a strApp name used in the refresh hint. Empty keeps the literal X.
cached: &'a SigNodeCached signature. observed wins over the diff baseline.
cached_revision: u64Revision stored with cached. It must equal tree::revision_of.
cached_pid: i32Pid stored with the snapshot.
cached_window: u32Window id stored with the snapshot.
resolved_pid: i32Pid of the resolved target.
resolved_window: u32Window id of the resolved target.
live: &'a UiNodeFresh tree.
live_pid: i32Pid of the fresh tree.
live_window: u32Window id of the fresh tree.
Auto Trait Implementations§
impl<'a> Freeze for GateInput<'a>
impl<'a> RefUnwindSafe for GateInput<'a>
impl<'a> Send for GateInput<'a>
impl<'a> Sync for GateInput<'a>
impl<'a> Unpin for GateInput<'a>
impl<'a> UnsafeUnpin for GateInput<'a>
impl<'a> UnwindSafe for GateInput<'a>
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