pub struct IScrollProvider(/* private fields */);
Implementations§
Source§impl IScrollProvider
impl IScrollProvider
pub unsafe fn Scroll( &self, horizontalamount: ScrollAmount, verticalamount: ScrollAmount, ) -> Result<()>
pub unsafe fn SetScrollPercent( &self, horizontalpercent: f64, verticalpercent: f64, ) -> Result<()>
pub unsafe fn get_HorizontalScrollPercent(&self) -> Result<f64>
pub unsafe fn get_VerticalScrollPercent(&self) -> Result<f64>
pub unsafe fn get_HorizontalViewSize(&self) -> Result<f64>
pub unsafe fn get_VerticalViewSize(&self) -> Result<f64>
pub unsafe fn get_HorizontallyScrollable(&self) -> Result<BOOL>
pub unsafe fn get_VerticallyScrollable(&self) -> Result<BOOL>
Trait Implementations§
Source§impl Clone for IScrollProvider
impl Clone for IScrollProvider
Source§fn clone(&self) -> IScrollProvider
fn clone(&self) -> IScrollProvider
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IScrollProvider
impl Debug for IScrollProvider
Source§impl From<&IScrollProvider> for IUnknown
impl From<&IScrollProvider> for IUnknown
Source§fn from(value: &IScrollProvider) -> Self
fn from(value: &IScrollProvider) -> Self
Converts to this type from the input type.
Source§impl From<IScrollProvider> for IUnknown
impl From<IScrollProvider> for IUnknown
Source§fn from(value: IScrollProvider) -> Self
fn from(value: IScrollProvider) -> Self
Converts to this type from the input type.
Source§impl Interface for IScrollProvider
impl Interface for IScrollProvider
const IID: Guid
type Vtable = IScrollProvider_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IScrollProvider
impl PartialEq for IScrollProvider
impl Eq for IScrollProvider
impl StructuralPartialEq for IScrollProvider
Auto Trait Implementations§
impl Freeze for IScrollProvider
impl RefUnwindSafe for IScrollProvider
impl !Send for IScrollProvider
impl !Sync for IScrollProvider
impl Unpin for IScrollProvider
impl UnwindSafe for IScrollProvider
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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