#[repr(transparent)]pub struct MFMailComposeResult(pub NSInteger);
Available on crate feature
MFMailComposeViewController
only.Expand description
Composition result sent to the delegate upon user completion.
This result will inform of the user’s choice in regards to email composition. If the user cancels the composition, MFMailComposeResultCancelled will be sent to the delegate. Typically MFMailComposeResultSent or MFMailComposeResultSaved will be sent, but MFMailComposeResultFailed will be sent in the case of failure.
Send may only be interpreted as a successful queueing of the message for later sending. The actual send will occur when the device is able to send.See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Trait Implementations§
Source§impl Clone for MFMailComposeResult
impl Clone for MFMailComposeResult
Source§fn clone(&self) -> MFMailComposeResult
fn clone(&self) -> MFMailComposeResult
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 MFMailComposeResult
impl Debug for MFMailComposeResult
Source§impl Encode for MFMailComposeResult
impl Encode for MFMailComposeResult
Source§impl Hash for MFMailComposeResult
impl Hash for MFMailComposeResult
Source§impl Ord for MFMailComposeResult
impl Ord for MFMailComposeResult
Source§fn cmp(&self, other: &MFMailComposeResult) -> Ordering
fn cmp(&self, other: &MFMailComposeResult) -> 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 MFMailComposeResult
impl PartialEq for MFMailComposeResult
Source§impl PartialOrd for MFMailComposeResult
impl PartialOrd for MFMailComposeResult
Source§impl RefEncode for MFMailComposeResult
impl RefEncode for MFMailComposeResult
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MFMailComposeResult
impl Eq for MFMailComposeResult
impl StructuralPartialEq for MFMailComposeResult
Auto Trait Implementations§
impl Freeze for MFMailComposeResult
impl RefUnwindSafe for MFMailComposeResult
impl Send for MFMailComposeResult
impl Sync for MFMailComposeResult
impl Unpin for MFMailComposeResult
impl UnwindSafe for MFMailComposeResult
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.