windows::Win32::UI::Accessibility

Trait IScrollProvider_Impl

pub trait IScrollProvider_Impl: IUnknownImpl {
    // Required methods
    fn Scroll(
        &self,
        horizontalamount: ScrollAmount,
        verticalamount: ScrollAmount,
    ) -> Result<()>;
    fn SetScrollPercent(
        &self,
        horizontalpercent: f64,
        verticalpercent: f64,
    ) -> Result<()>;
    fn HorizontalScrollPercent(&self) -> Result<f64>;
    fn VerticalScrollPercent(&self) -> Result<f64>;
    fn HorizontalViewSize(&self) -> Result<f64>;
    fn VerticalViewSize(&self) -> Result<f64>;
    fn HorizontallyScrollable(&self) -> Result<BOOL>;
    fn VerticallyScrollable(&self) -> Result<BOOL>;
}

Required Methods§

fn Scroll( &self, horizontalamount: ScrollAmount, verticalamount: ScrollAmount, ) -> Result<()>

fn SetScrollPercent( &self, horizontalpercent: f64, verticalpercent: f64, ) -> Result<()>

fn HorizontalScrollPercent(&self) -> Result<f64>

fn VerticalScrollPercent(&self) -> Result<f64>

fn HorizontalViewSize(&self) -> Result<f64>

fn VerticalViewSize(&self) -> Result<f64>

fn HorizontallyScrollable(&self) -> Result<BOOL>

fn VerticallyScrollable(&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.

Implementors§