Struct winsafe::vt::IMediaSeekingVT

source ·
#[repr(C)]
pub struct IMediaSeekingVT {
Show 18 fields pub IUnknownVT: IUnknownVT, pub GetCapabilities: fn(_: *mut c_void, _: *mut u32) -> u32, pub CheckCapabilities: fn(_: *mut c_void, _: *mut u32) -> u32, pub IsFormatSupported: fn(_: *mut c_void, _: *const c_void) -> u32, pub QueryPreferredFormat: fn(_: *mut c_void, _: *mut c_void) -> u32, pub GetTimeFormat: fn(_: *mut c_void, _: *mut c_void) -> u32, pub IsUsingTimeFormat: fn(_: *mut c_void, _: *const c_void) -> u32, pub SetTimeFormat: fn(_: *mut c_void, _: *const c_void) -> u32, pub GetDuration: fn(_: *mut c_void, _: *mut i64) -> u32, pub GetStopPosition: fn(_: *mut c_void, _: *mut i64) -> u32, pub GetCurrentPosition: fn(_: *mut c_void, _: *mut i64) -> u32, pub ConvertTimeFormat: fn(_: *mut c_void, _: *mut i64, _: *const c_void, _: i64, _: *const c_void) -> u32, pub SetPositions: fn(_: *mut c_void, _: *mut i64, _: u32, _: *mut i64, _: u32) -> u32, pub GetPositions: fn(_: *mut c_void, _: *mut i64, _: *mut i64) -> u32, pub GetAvailable: fn(_: *mut c_void, _: *mut i64, _: *mut i64) -> u32, pub SetRate: fn(_: *mut c_void, _: f64) -> u32, pub GetRate: fn(_: *mut c_void, _: *mut f64) -> u32, pub GetPreroll: fn(_: *mut c_void, _: *mut i64) -> u32,
}
Available on crate features ole and dshow only.
Expand description

IMediaSeeking virtual table.

Fields§

§IUnknownVT: IUnknownVT§GetCapabilities: fn(_: *mut c_void, _: *mut u32) -> u32§CheckCapabilities: fn(_: *mut c_void, _: *mut u32) -> u32§IsFormatSupported: fn(_: *mut c_void, _: *const c_void) -> u32§QueryPreferredFormat: fn(_: *mut c_void, _: *mut c_void) -> u32§GetTimeFormat: fn(_: *mut c_void, _: *mut c_void) -> u32§IsUsingTimeFormat: fn(_: *mut c_void, _: *const c_void) -> u32§SetTimeFormat: fn(_: *mut c_void, _: *const c_void) -> u32§GetDuration: fn(_: *mut c_void, _: *mut i64) -> u32§GetStopPosition: fn(_: *mut c_void, _: *mut i64) -> u32§GetCurrentPosition: fn(_: *mut c_void, _: *mut i64) -> u32§ConvertTimeFormat: fn(_: *mut c_void, _: *mut i64, _: *const c_void, _: i64, _: *const c_void) -> u32§SetPositions: fn(_: *mut c_void, _: *mut i64, _: u32, _: *mut i64, _: u32) -> u32§GetPositions: fn(_: *mut c_void, _: *mut i64, _: *mut i64) -> u32§GetAvailable: fn(_: *mut c_void, _: *mut i64, _: *mut i64) -> u32§SetRate: fn(_: *mut c_void, _: f64) -> u32§GetRate: fn(_: *mut c_void, _: *mut f64) -> u32§GetPreroll: fn(_: *mut c_void, _: *mut i64) -> u32

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.