Skip to main content

CAMediaTiming

Trait CAMediaTiming 

Source
pub unsafe trait CAMediaTiming {
Show 16 methods // Provided methods fn beginTime(&self) -> CFTimeInterval where Self: Sized + Message { ... } fn setBeginTime(&self, begin_time: CFTimeInterval) where Self: Sized + Message { ... } fn duration(&self) -> CFTimeInterval where Self: Sized + Message { ... } fn setDuration(&self, duration: CFTimeInterval) where Self: Sized + Message { ... } fn speed(&self) -> c_float where Self: Sized + Message { ... } fn setSpeed(&self, speed: c_float) where Self: Sized + Message { ... } fn timeOffset(&self) -> CFTimeInterval where Self: Sized + Message { ... } fn setTimeOffset(&self, time_offset: CFTimeInterval) where Self: Sized + Message { ... } fn repeatCount(&self) -> c_float where Self: Sized + Message { ... } fn setRepeatCount(&self, repeat_count: c_float) where Self: Sized + Message { ... } fn repeatDuration(&self) -> CFTimeInterval where Self: Sized + Message { ... } fn setRepeatDuration(&self, repeat_duration: CFTimeInterval) where Self: Sized + Message { ... } fn autoreverses(&self) -> bool where Self: Sized + Message { ... } fn setAutoreverses(&self, autoreverses: bool) where Self: Sized + Message { ... } fn fillMode(&self) -> Retained<CAMediaTimingFillMode> where Self: Sized + Message { ... } fn setFillMode(&self, fill_mode: &CAMediaTimingFillMode) where Self: Sized + Message { ... }
}
Available on crate feature CAMediaTiming only.
Expand description

Provided Methods§

Source

fn beginTime(&self) -> CFTimeInterval
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

fn setBeginTime(&self, begin_time: CFTimeInterval)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for beginTime.

Source

fn duration(&self) -> CFTimeInterval
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

fn setDuration(&self, duration: CFTimeInterval)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for duration.

Source

fn speed(&self) -> c_float
where Self: Sized + Message,

Source

fn setSpeed(&self, speed: c_float)
where Self: Sized + Message,

Setter for speed.

Source

fn timeOffset(&self) -> CFTimeInterval
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

fn setTimeOffset(&self, time_offset: CFTimeInterval)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for timeOffset.

Source

fn repeatCount(&self) -> c_float
where Self: Sized + Message,

Source

fn setRepeatCount(&self, repeat_count: c_float)
where Self: Sized + Message,

Setter for repeatCount.

Source

fn repeatDuration(&self) -> CFTimeInterval
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

fn setRepeatDuration(&self, repeat_duration: CFTimeInterval)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for repeatDuration.

Source

fn autoreverses(&self) -> bool
where Self: Sized + Message,

Source

fn setAutoreverses(&self, autoreverses: bool)
where Self: Sized + Message,

Setter for autoreverses.

Source

fn fillMode(&self) -> Retained<CAMediaTimingFillMode>
where Self: Sized + Message,

Source

fn setFillMode(&self, fill_mode: &CAMediaTimingFillMode)
where Self: Sized + Message,

Setter for fillMode.

This is copied when set.

Trait Implementations§

Source§

impl ProtocolType for dyn CAMediaTiming

Source§

const NAME: &'static str = "CAMediaTiming"

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
Source§

impl<T> ImplementedBy<T> for dyn CAMediaTiming
where T: ?Sized + Message + CAMediaTiming,

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> CAMediaTiming for ProtocolObject<T>
where T: ?Sized + CAMediaTiming,

Implementors§

Source§

impl CAMediaTiming for CAAnimation

Available on crate feature CAAnimation only.
Source§

impl CAMediaTiming for CAAnimationGroup

Available on crate feature CAAnimation only.
Source§

impl CAMediaTiming for CABasicAnimation

Available on crate feature CAAnimation only.
Source§

impl CAMediaTiming for CAEmitterCell

Available on crate feature CAEmitterCell only.
Source§

impl CAMediaTiming for CAEmitterLayer

Available on crate feature CAEmitterLayer only.
Source§

impl CAMediaTiming for CAGradientLayer

Available on crate feature CAGradientLayer only.
Source§

impl CAMediaTiming for CAKeyframeAnimation

Available on crate feature CAAnimation only.
Source§

impl CAMediaTiming for CALayer

Available on crate feature CALayer only.
Source§

impl CAMediaTiming for CAMetalLayer

Available on crate feature CAMetalLayer only.
Source§

impl CAMediaTiming for CAOpenGLLayer

Available on crate feature CAOpenGLLayer only.
Source§

impl CAMediaTiming for CAPropertyAnimation

Available on crate feature CAAnimation only.
Source§

impl CAMediaTiming for CAReplicatorLayer

Available on crate feature CAReplicatorLayer only.
Source§

impl CAMediaTiming for CAScrollLayer

Available on crate feature CAScrollLayer only.
Source§

impl CAMediaTiming for CAShapeLayer

Available on crate feature CAShapeLayer only.
Source§

impl CAMediaTiming for CASpringAnimation

Available on crate feature CAAnimation only.
Source§

impl CAMediaTiming for CATextLayer

Available on crate feature CATextLayer only.
Source§

impl CAMediaTiming for CATiledLayer

Available on crate feature CATiledLayer only.
Source§

impl CAMediaTiming for CATransformLayer

Available on crate feature CATransformLayer only.
Source§

impl CAMediaTiming for CATransition

Available on crate feature CAAnimation only.