#[repr(C, u8)]pub enum OptionCoreImageCallback {
None,
Some(CoreImageCallback),
}Variants§
None
Some(CoreImageCallback)
Implementations§
Source§impl OptionCoreImageCallback
impl OptionCoreImageCallback
pub fn into_option(&self) -> Option<CoreImageCallback>
Source§impl OptionCoreImageCallback
impl OptionCoreImageCallback
pub fn as_option(&self) -> Option<&CoreImageCallback>
pub fn replace(&mut self, value: CoreImageCallback) -> OptionCoreImageCallback
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
pub const fn as_ref(&self) -> Option<&CoreImageCallback>
pub fn as_mut(&mut self) -> Option<&mut CoreImageCallback>
pub fn map<U, F: FnOnce(CoreImageCallback) -> U>(self, f: F) -> Option<U>
pub fn and_then<U, F>(self, f: F) -> Option<U>
Trait Implementations§
Source§impl Clone for OptionCoreImageCallback
impl Clone for OptionCoreImageCallback
Source§fn clone(&self) -> OptionCoreImageCallback
fn clone(&self) -> OptionCoreImageCallback
Returns a duplicate of the value. Read more
1.0.0 · 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 OptionCoreImageCallback
impl Debug for OptionCoreImageCallback
Source§impl Default for OptionCoreImageCallback
impl Default for OptionCoreImageCallback
Source§fn default() -> OptionCoreImageCallback
fn default() -> OptionCoreImageCallback
Returns the “default value” for a type. Read more
Source§impl From<Option<CoreImageCallback>> for OptionCoreImageCallback
impl From<Option<CoreImageCallback>> for OptionCoreImageCallback
Source§fn from(o: Option<CoreImageCallback>) -> OptionCoreImageCallback
fn from(o: Option<CoreImageCallback>) -> OptionCoreImageCallback
Converts to this type from the input type.
Source§impl From<OptionCoreImageCallback> for Option<CoreImageCallback>
impl From<OptionCoreImageCallback> for Option<CoreImageCallback>
Source§fn from(o: OptionCoreImageCallback) -> Option<CoreImageCallback>
fn from(o: OptionCoreImageCallback) -> Option<CoreImageCallback>
Converts to this type from the input type.
Source§impl Hash for OptionCoreImageCallback
impl Hash for OptionCoreImageCallback
Source§impl Ord for OptionCoreImageCallback
impl Ord for OptionCoreImageCallback
Source§fn cmp(&self, other: &OptionCoreImageCallback) -> Ordering
fn cmp(&self, other: &OptionCoreImageCallback) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OptionCoreImageCallback
impl PartialEq for OptionCoreImageCallback
Source§impl PartialOrd for OptionCoreImageCallback
impl PartialOrd for OptionCoreImageCallback
impl Eq for OptionCoreImageCallback
impl StructuralPartialEq for OptionCoreImageCallback
Auto Trait Implementations§
impl Freeze for OptionCoreImageCallback
impl RefUnwindSafe for OptionCoreImageCallback
impl Send for OptionCoreImageCallback
impl Sync for OptionCoreImageCallback
impl Unpin for OptionCoreImageCallback
impl UnwindSafe for OptionCoreImageCallback
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more