Struct objc2_web_kit::WKMediaCaptureType
source · #[repr(transparent)]pub struct WKMediaCaptureType(pub NSInteger);
Available on crate feature
WKUIDelegate
only.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§fn eq(&self, other: &WKMediaCaptureType) -> bool
fn eq(&self, other: &WKMediaCaptureType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for WKMediaCaptureType
impl PartialOrd for WKMediaCaptureType
source§fn partial_cmp(&self, other: &WKMediaCaptureType) -> Option<Ordering>
fn partial_cmp(&self, other: &WKMediaCaptureType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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> 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.