#[repr(C, u8)]pub enum OptionKeyframes {
None,
Some(Keyframes),
}Variants§
Implementations§
Source§impl OptionKeyframes
impl OptionKeyframes
pub fn into_option(&self) -> Option<Keyframes>
Source§impl OptionKeyframes
impl OptionKeyframes
pub const fn as_option(&self) -> Option<&Keyframes>
pub const fn replace(&mut self, value: Keyframes) -> OptionKeyframes
pub const fn is_some(&self) -> bool
pub const fn is_none(&self) -> bool
pub const fn as_ref(&self) -> Option<&Keyframes>
pub const fn as_mut(&mut self) -> Option<&mut Keyframes>
pub fn map<U, F: FnOnce(Keyframes) -> U>(self, f: F) -> Option<U>
pub fn and_then<U, F>(self, f: F) -> Option<U>
Trait Implementations§
Source§impl Clone for OptionKeyframes
impl Clone for OptionKeyframes
Source§fn clone(&self) -> OptionKeyframes
fn clone(&self) -> OptionKeyframes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OptionKeyframes
impl Debug for OptionKeyframes
Source§impl Default for OptionKeyframes
impl Default for OptionKeyframes
Source§fn default() -> OptionKeyframes
fn default() -> OptionKeyframes
Returns the “default value” for a type. Read more
impl Eq for OptionKeyframes
Source§impl PartialEq for OptionKeyframes
impl PartialEq for OptionKeyframes
impl StructuralPartialEq for OptionKeyframes
Auto Trait Implementations§
impl Freeze for OptionKeyframes
impl RefUnwindSafe for OptionKeyframes
impl Send for OptionKeyframes
impl Sync for OptionKeyframes
impl Unpin for OptionKeyframes
impl UnsafeUnpin for OptionKeyframes
impl UnwindSafe for OptionKeyframes
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