pub enum DocumentFindReveal {
ScrollY(f32),
EngineManaged,
}Expand description
How selecting a match is revealed by its owning engine.
Variants§
ScrollY(f32)
Retained document-space vertical offset. The session applies it when the match becomes current; the value remains observable to automation.
EngineManaged
A hosted engine owns selection and reveal internally.
Trait Implementations§
Source§impl Clone for DocumentFindReveal
impl Clone for DocumentFindReveal
impl Copy for DocumentFindReveal
Source§impl Debug for DocumentFindReveal
impl Debug for DocumentFindReveal
Source§impl<'de> Deserialize<'de> for DocumentFindReveal
impl<'de> Deserialize<'de> for DocumentFindReveal
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
Source§impl PartialEq for DocumentFindReveal
impl PartialEq for DocumentFindReveal
Source§impl Serialize for DocumentFindReveal
impl Serialize for DocumentFindReveal
impl StructuralPartialEq for DocumentFindReveal
Auto Trait Implementations§
impl Freeze for DocumentFindReveal
impl RefUnwindSafe for DocumentFindReveal
impl Send for DocumentFindReveal
impl Sync for DocumentFindReveal
impl Unpin for DocumentFindReveal
impl UnsafeUnpin for DocumentFindReveal
impl UnwindSafe for DocumentFindReveal
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