pub enum Query {
RichSelection(NodeId),
FileRead(FileRead),
FilePreview(FileToken),
Bounds(NodeId),
Scroll(NodeId),
ScrollMetrics(NodeId),
Selection(NodeId),
Focus(NodeId),
}Variants§
RichSelection(NodeId)
FileRead(FileRead)
FilePreview(FileToken)
Bounds(NodeId)
Scroll(NodeId)
ScrollMetrics(NodeId)
Selection(NodeId)
Focus(NodeId)
Whether this node’s actual control owns document focus at the request barrier. This is neither FocusWithin nor OS/window activation.
Implementations§
Source§impl Query
impl Query
pub fn node(self) -> NodeId
Sourcepub fn validate_target<'a>(
self,
node: impl Into<DescriptorView<'a>>,
) -> Result<(), Error>
pub fn validate_target<'a>( self, node: impl Into<DescriptorView<'a>>, ) -> Result<(), Error>
Semantic target checks precede host-specific availability checks. A boxless Group has no physical bounds/scroll/selection of its own.
Sourcepub fn validate_response(self, value: &QueryValue) -> Result<(), Error>
pub fn validate_response(self, value: &QueryValue) -> Result<(), Error>
Check adapter output before it reaches application callbacks. Coordinates use logical pixels; selection offsets use UTF-16 code units on all hosts.
Trait Implementations§
impl Copy for Query
impl Eq for Query
impl StructuralPartialEq for Query
Auto Trait Implementations§
impl Forget for Query
impl Freeze for Query
impl Move for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnsafeUnpin for Query
impl UnwindSafe for Query
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