#[repr(transparent)]pub struct WKMediaCaptureType(pub NSInteger);
Available on crate feature
WKUIDelegate
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl WKMediaCaptureType
impl WKMediaCaptureType
pub const Camera: Self
pub const Microphone: Self
pub const CameraAndMicrophone: Self
Trait Implementations§
Source§impl Clone for WKMediaCaptureType
impl Clone for WKMediaCaptureType
Source§fn clone(&self) -> WKMediaCaptureType
fn clone(&self) -> WKMediaCaptureType
Returns a copy 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 WKMediaCaptureType
impl Debug for WKMediaCaptureType
Source§impl Encode for WKMediaCaptureType
impl Encode for WKMediaCaptureType
Source§impl Hash for WKMediaCaptureType
impl Hash for WKMediaCaptureType
Source§impl Ord for WKMediaCaptureType
impl Ord for WKMediaCaptureType
Source§fn cmp(&self, other: &WKMediaCaptureType) -> Ordering
fn cmp(&self, other: &WKMediaCaptureType) -> 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 WKMediaCaptureType
impl PartialEq for WKMediaCaptureType
Source§impl PartialOrd for WKMediaCaptureType
impl PartialOrd for WKMediaCaptureType
Source§impl RefEncode for WKMediaCaptureType
impl RefEncode for WKMediaCaptureType
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 WKMediaCaptureType
impl Eq for WKMediaCaptureType
impl StructuralPartialEq for WKMediaCaptureType
Auto Trait Implementations§
impl Freeze for WKMediaCaptureType
impl RefUnwindSafe for WKMediaCaptureType
impl Send for WKMediaCaptureType
impl Sync for WKMediaCaptureType
impl Unpin for WKMediaCaptureType
impl UnwindSafe for WKMediaCaptureType
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.