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§
fn beginTime(&self) -> CFTimeInterval
Available on crate feature
objc2-core-foundation only.Sourcefn setBeginTime(&self, begin_time: CFTimeInterval)
Available on crate feature objc2-core-foundation only.
fn setBeginTime(&self, begin_time: CFTimeInterval)
objc2-core-foundation only.Setter for beginTime.
fn duration(&self) -> CFTimeInterval
Available on crate feature
objc2-core-foundation only.Sourcefn setDuration(&self, duration: CFTimeInterval)
Available on crate feature objc2-core-foundation only.
fn setDuration(&self, duration: CFTimeInterval)
objc2-core-foundation only.Setter for duration.
fn speed(&self) -> c_float
fn timeOffset(&self) -> CFTimeInterval
Available on crate feature
objc2-core-foundation only.Sourcefn setTimeOffset(&self, time_offset: CFTimeInterval)
Available on crate feature objc2-core-foundation only.
fn setTimeOffset(&self, time_offset: CFTimeInterval)
objc2-core-foundation only.Setter for timeOffset.
fn repeatCount(&self) -> c_float
Sourcefn setRepeatCount(&self, repeat_count: c_float)
fn setRepeatCount(&self, repeat_count: c_float)
Setter for repeatCount.
fn repeatDuration(&self) -> CFTimeInterval
Available on crate feature
objc2-core-foundation only.Sourcefn setRepeatDuration(&self, repeat_duration: CFTimeInterval)
Available on crate feature objc2-core-foundation only.
fn setRepeatDuration(&self, repeat_duration: CFTimeInterval)
objc2-core-foundation only.Setter for repeatDuration.
fn autoreverses(&self) -> bool
Sourcefn setAutoreverses(&self, autoreverses: bool)
fn setAutoreverses(&self, autoreverses: bool)
Setter for autoreverses.
fn fillMode(&self) -> Retained<CAMediaTimingFillMode>
Sourcefn setFillMode(&self, fill_mode: &CAMediaTimingFillMode)
fn setFillMode(&self, fill_mode: &CAMediaTimingFillMode)
Trait Implementations§
Source§impl ProtocolType for dyn CAMediaTiming
impl ProtocolType for dyn CAMediaTiming
impl<T> ImplementedBy<T> for dyn CAMediaTiming
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
impl<T> CAMediaTiming for ProtocolObject<T>where
T: ?Sized + CAMediaTiming,
Implementors§
impl CAMediaTiming for CAAnimation
Available on crate feature
CAAnimation only.impl CAMediaTiming for CAAnimationGroup
Available on crate feature
CAAnimation only.impl CAMediaTiming for CABasicAnimation
Available on crate feature
CAAnimation only.impl CAMediaTiming for CAEmitterCell
Available on crate feature
CAEmitterCell only.impl CAMediaTiming for CAEmitterLayer
Available on crate feature
CAEmitterLayer only.impl CAMediaTiming for CAGradientLayer
Available on crate feature
CAGradientLayer only.impl CAMediaTiming for CAKeyframeAnimation
Available on crate feature
CAAnimation only.impl CAMediaTiming for CALayer
Available on crate feature
CALayer only.impl CAMediaTiming for CAMetalLayer
Available on crate feature
CAMetalLayer only.impl CAMediaTiming for CAOpenGLLayer
Available on crate feature
CAOpenGLLayer only.impl CAMediaTiming for CAPropertyAnimation
Available on crate feature
CAAnimation only.impl CAMediaTiming for CAReplicatorLayer
Available on crate feature
CAReplicatorLayer only.impl CAMediaTiming for CAScrollLayer
Available on crate feature
CAScrollLayer only.impl CAMediaTiming for CAShapeLayer
Available on crate feature
CAShapeLayer only.impl CAMediaTiming for CASpringAnimation
Available on crate feature
CAAnimation only.impl CAMediaTiming for CATextLayer
Available on crate feature
CATextLayer only.impl CAMediaTiming for CATiledLayer
Available on crate feature
CATiledLayer only.impl CAMediaTiming for CATransformLayer
Available on crate feature
CATransformLayer only.impl CAMediaTiming for CATransition
Available on crate feature
CAAnimation only.