Vector3Transition
struct · ferroui-base · v0.5.0
struct Vector3Transition
Microsoft.UI.Xaml.Vector3Transition: the animation of a change of a Vector3 facade of an
element (UIElement.ScaleTransition, UIElement.TranslationTransition).
Deviation (winui-composition.md): a value, as ScalarTransition.
Members
new
const fn new() -> Vector3Transition
A transition of the default duration (300 milliseconds) animating every component.
with
const fn with(duration: Duration, components: Vector3TransitionComponents) -> Vector3Transition
A transition of duration animating components.
duration
fn duration(self: &Self) -> Duration
Duration: how long the animation of a change takes. 300 milliseconds by default.
set_duration
fn set_duration(self: &mut Self, value: Duration)
Sets duration.
components
fn components(self: &Self) -> Vector3TransitionComponents
Components: the components that animate; the others take their new value at once. All
three by default.
set_components
fn set_components(self: &mut Self, value: Vector3TransitionComponents)
Sets components.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqEqHashDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.