Struct windows::Win32::UI::Animation::IUIAnimationManager
pub struct IUIAnimationManager(/* private fields */);
Implementations§
§impl IUIAnimationManager
impl IUIAnimationManager
pub unsafe fn CreateAnimationVariable( &self, initialvalue: f64, ) -> Result<IUIAnimationVariable>
pub unsafe fn ScheduleTransition<P0, P1>(
&self,
variable: P0,
transition: P1,
timenow: f64,
) -> Result<()>where
P0: Param<IUIAnimationVariable>,
P1: Param<IUIAnimationTransition>,
pub unsafe fn CreateStoryboard(&self) -> Result<IUIAnimationStoryboard>
pub unsafe fn FinishAllStoryboards(&self, completiondeadline: f64) -> Result<()>
pub unsafe fn AbandonAllStoryboards(&self) -> Result<()>
pub unsafe fn Update( &self, timenow: f64, updateresult: Option<*mut UI_ANIMATION_UPDATE_RESULT>, ) -> Result<()>
pub unsafe fn GetVariableFromTag<P0>(
&self,
object: P0,
id: u32,
) -> Result<IUIAnimationVariable>where
P0: Param<IUnknown>,
pub unsafe fn GetStoryboardFromTag<P0>(
&self,
object: P0,
id: u32,
) -> Result<IUIAnimationStoryboard>where
P0: Param<IUnknown>,
pub unsafe fn GetStatus(&self) -> Result<UI_ANIMATION_MANAGER_STATUS>
pub unsafe fn SetAnimationMode(&self, mode: UI_ANIMATION_MODE) -> Result<()>
pub unsafe fn Pause(&self) -> Result<()>
pub unsafe fn Resume(&self) -> Result<()>
pub unsafe fn SetManagerEventHandler<P0>(&self, handler: P0) -> Result<()>where
P0: Param<IUIAnimationManagerEventHandler>,
pub unsafe fn SetCancelPriorityComparison<P0>(
&self,
comparison: P0,
) -> Result<()>where
P0: Param<IUIAnimationPriorityComparison>,
pub unsafe fn SetTrimPriorityComparison<P0>(&self, comparison: P0) -> Result<()>where
P0: Param<IUIAnimationPriorityComparison>,
pub unsafe fn SetCompressPriorityComparison<P0>(
&self,
comparison: P0,
) -> Result<()>where
P0: Param<IUIAnimationPriorityComparison>,
pub unsafe fn SetConcludePriorityComparison<P0>(
&self,
comparison: P0,
) -> Result<()>where
P0: Param<IUIAnimationPriorityComparison>,
pub unsafe fn SetDefaultLongestAcceptableDelay(&self, delay: f64) -> Result<()>
pub unsafe fn Shutdown(&self) -> Result<()>
Trait Implementations§
§impl CanInto<IUnknown> for IUIAnimationManager
impl CanInto<IUnknown> for IUIAnimationManager
§impl Clone for IUIAnimationManager
impl Clone for IUIAnimationManager
§fn clone(&self) -> IUIAnimationManager
fn clone(&self) -> IUIAnimationManager
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 more§impl Debug for IUIAnimationManager
impl Debug for IUIAnimationManager
§impl Deref for IUIAnimationManager
impl Deref for IUIAnimationManager
§impl From<&IUIAnimationManager> for &IUnknown
impl From<&IUIAnimationManager> for &IUnknown
§fn from(value: &IUIAnimationManager) -> Self
fn from(value: &IUIAnimationManager) -> Self
Converts to this type from the input type.
§impl From<IUIAnimationManager> for IUnknown
impl From<IUIAnimationManager> for IUnknown
§fn from(value: IUIAnimationManager) -> Self
fn from(value: IUIAnimationManager) -> Self
Converts to this type from the input type.
§impl Interface for IUIAnimationManager
impl Interface for IUIAnimationManager
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IUIAnimationManager
impl PartialEq for IUIAnimationManager
§fn eq(&self, other: &IUIAnimationManager) -> bool
fn eq(&self, other: &IUIAnimationManager) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IUIAnimationManager
impl StructuralPartialEq for IUIAnimationManager
Auto Trait Implementations§
impl Freeze for IUIAnimationManager
impl RefUnwindSafe for IUIAnimationManager
impl !Send for IUIAnimationManager
impl !Sync for IUIAnimationManager
impl Unpin for IUIAnimationManager
impl UnwindSafe for IUIAnimationManager
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)