Skip to main content

UITimingCurveProvider

Trait UITimingCurveProvider 

Source
pub unsafe trait UITimingCurveProvider:
    NSCoding
    + NSCopying
    + MainThreadOnly {
    // Provided methods
    fn timingCurveType(&self) -> UITimingCurveType
       where Self: Sized + Message { ... }
    fn cubicTimingParameters(&self) -> Option<Retained<UICubicTimingParameters>>
       where Self: Sized + Message { ... }
    fn springTimingParameters(
        &self,
    ) -> Option<Retained<UISpringTimingParameters>>
       where Self: Sized + Message { ... }
}
Available on crate feature UITimingCurveProvider only.
Expand description

Provided Methods§

Source

fn timingCurveType(&self) -> UITimingCurveType
where Self: Sized + Message,

Source

fn cubicTimingParameters(&self) -> Option<Retained<UICubicTimingParameters>>
where Self: Sized + Message,

Available on crate feature UITimingParameters only.
Source

fn springTimingParameters(&self) -> Option<Retained<UISpringTimingParameters>>
where Self: Sized + Message,

Available on crate feature UITimingParameters only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UITimingCurveProvider

Source§

impl ProtocolType for dyn UITimingCurveProvider

Source§

const NAME: &'static str = "UITimingCurveProvider"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> UITimingCurveProvider for ProtocolObject<T>

Implementors§

Source§

impl UITimingCurveProvider for UICubicTimingParameters

Available on crate feature UITimingParameters only.
Source§

impl UITimingCurveProvider for UISpringTimingParameters

Available on crate feature UITimingParameters only.