pub struct MotionKeyframeData(/* private fields */);Implementations§
Source§impl MotionKeyframeData
impl MotionKeyframeData
Sourcepub fn new() -> Option<Self>
pub fn new() -> Option<Self>
Create new motion keyframe data.
C++ equivalent: static MotionKeyframeData* alloc()->init()
Sourcepub fn data() -> Option<Self>
pub fn data() -> Option<Self>
Create motion keyframe data using the class method.
C++ equivalent: static MotionKeyframeData* data()
Sourcepub fn set_buffer(&self, buffer: Option<&Buffer>)
pub fn set_buffer(&self, buffer: Option<&Buffer>)
Set the buffer.
C++ equivalent: void setBuffer(Buffer*)
Sourcepub fn set_offset(&self, offset: UInteger)
pub fn set_offset(&self, offset: UInteger)
Set the offset.
C++ equivalent: void setOffset(NS::UInteger)
Trait Implementations§
Source§impl Clone for MotionKeyframeData
impl Clone for MotionKeyframeData
Source§impl Default for MotionKeyframeData
impl Default for MotionKeyframeData
Source§impl Drop for MotionKeyframeData
impl Drop for MotionKeyframeData
Source§impl Referencing for MotionKeyframeData
impl Referencing for MotionKeyframeData
Source§fn as_mut_ptr(&self) -> *mut c_void
fn as_mut_ptr(&self) -> *mut c_void
Get the raw mutable pointer to the Objective-C object.
Source§fn retain(&self) -> Selfwhere
Self: Clone,
fn retain(&self) -> Selfwhere
Self: Clone,
Retain the object, incrementing its reference count. Read more
Source§fn autorelease(&self) -> Selfwhere
Self: Clone,
fn autorelease(&self) -> Selfwhere
Self: Clone,
Autorelease the object. Read more
Source§fn retain_count(&self) -> usize
fn retain_count(&self) -> usize
Get the retain count of the object. Read more
impl Send for MotionKeyframeData
impl Sync for MotionKeyframeData
Auto Trait Implementations§
impl Freeze for MotionKeyframeData
impl RefUnwindSafe for MotionKeyframeData
impl Unpin for MotionKeyframeData
impl UnwindSafe for MotionKeyframeData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more