Struct windows::UI::Core::AnimationMetrics::ScaleAnimation
pub struct ScaleAnimation(/* private fields */);
Implementations§
§impl ScaleAnimation
impl ScaleAnimation
pub fn Type(&self) -> Result<PropertyAnimationType>
pub fn Delay(&self) -> Result<TimeSpan>
pub fn Duration(&self) -> Result<TimeSpan>
pub fn Control1(&self) -> Result<Point>
pub fn Control2(&self) -> Result<Point>
pub fn InitialScaleX(&self) -> Result<IReference<f32>>
pub fn InitialScaleY(&self) -> Result<IReference<f32>>
pub fn FinalScaleX(&self) -> Result<f32>
pub fn FinalScaleY(&self) -> Result<f32>
pub fn NormalizedOrigin(&self) -> Result<Point>
Trait Implementations§
§impl Clone for ScaleAnimation
impl Clone for ScaleAnimation
§fn clone(&self) -> ScaleAnimation
fn clone(&self) -> ScaleAnimation
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 ScaleAnimation
impl Debug for ScaleAnimation
§impl From<&ScaleAnimation> for &IInspectable
impl From<&ScaleAnimation> for &IInspectable
§fn from(value: &ScaleAnimation) -> Self
fn from(value: &ScaleAnimation) -> Self
Converts to this type from the input type.
§impl From<&ScaleAnimation> for &IUnknown
impl From<&ScaleAnimation> for &IUnknown
§fn from(value: &ScaleAnimation) -> Self
fn from(value: &ScaleAnimation) -> Self
Converts to this type from the input type.
§impl From<ScaleAnimation> for IInspectable
impl From<ScaleAnimation> for IInspectable
§fn from(value: ScaleAnimation) -> Self
fn from(value: ScaleAnimation) -> Self
Converts to this type from the input type.
§impl From<ScaleAnimation> for IUnknown
impl From<ScaleAnimation> for IUnknown
§fn from(value: ScaleAnimation) -> Self
fn from(value: ScaleAnimation) -> Self
Converts to this type from the input type.
§impl Interface for ScaleAnimation
impl Interface for ScaleAnimation
§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§impl PartialEq for ScaleAnimation
impl PartialEq for ScaleAnimation
§fn eq(&self, other: &ScaleAnimation) -> bool
fn eq(&self, other: &ScaleAnimation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ScaleAnimation
impl Send for ScaleAnimation
impl StructuralPartialEq for ScaleAnimation
impl Sync for ScaleAnimation
Auto Trait Implementations§
impl RefUnwindSafe for ScaleAnimation
impl Unpin for ScaleAnimation
impl UnwindSafe for ScaleAnimation
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