Trait IUIAutomationScrollPattern_Impl
pub trait IUIAutomationScrollPattern_Impl: IUnknownImpl {
Show 14 methods
// Required methods
fn Scroll(
&self,
horizontalamount: ScrollAmount,
verticalamount: ScrollAmount,
) -> Result<()>;
fn SetScrollPercent(
&self,
horizontalpercent: f64,
verticalpercent: f64,
) -> Result<()>;
fn CurrentHorizontalScrollPercent(&self) -> Result<f64>;
fn CurrentVerticalScrollPercent(&self) -> Result<f64>;
fn CurrentHorizontalViewSize(&self) -> Result<f64>;
fn CurrentVerticalViewSize(&self) -> Result<f64>;
fn CurrentHorizontallyScrollable(&self) -> Result<BOOL>;
fn CurrentVerticallyScrollable(&self) -> Result<BOOL>;
fn CachedHorizontalScrollPercent(&self) -> Result<f64>;
fn CachedVerticalScrollPercent(&self) -> Result<f64>;
fn CachedHorizontalViewSize(&self) -> Result<f64>;
fn CachedVerticalViewSize(&self) -> Result<f64>;
fn CachedHorizontallyScrollable(&self) -> Result<BOOL>;
fn CachedVerticallyScrollable(&self) -> Result<BOOL>;
}
Required Methods§
fn Scroll( &self, horizontalamount: ScrollAmount, verticalamount: ScrollAmount, ) -> Result<()>
fn SetScrollPercent( &self, horizontalpercent: f64, verticalpercent: f64, ) -> Result<()>
fn CurrentHorizontalScrollPercent(&self) -> Result<f64>
fn CurrentVerticalScrollPercent(&self) -> Result<f64>
fn CurrentHorizontalViewSize(&self) -> Result<f64>
fn CurrentVerticalViewSize(&self) -> Result<f64>
fn CurrentHorizontallyScrollable(&self) -> Result<BOOL>
fn CurrentVerticallyScrollable(&self) -> Result<BOOL>
fn CachedHorizontalScrollPercent(&self) -> Result<f64>
fn CachedVerticalScrollPercent(&self) -> Result<f64>
fn CachedHorizontalViewSize(&self) -> Result<f64>
fn CachedVerticalViewSize(&self) -> Result<f64>
fn CachedHorizontallyScrollable(&self) -> Result<BOOL>
fn CachedVerticallyScrollable(&self) -> Result<BOOL>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.