CAMediaTiming

Trait CAMediaTiming 

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

Provided Methods§

Source

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

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

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

Available on crate feature objc2-core-foundation only.

Setter for beginTime.

Source

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

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

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

Available on crate feature objc2-core-foundation only.

Setter for duration.

Source

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

Source

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

Setter for speed.

Source

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

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

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

Available on crate feature objc2-core-foundation only.

Setter for timeOffset.

Source

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

Source

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

Setter for repeatCount.

Source

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

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

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

Available on crate feature objc2-core-foundation only.

Setter for repeatDuration.

Source

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

Source

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

Setter for autoreverses.

Source

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

Source

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

Setter for fillMode.

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,

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.