#[repr(transparent)]pub struct ARMatteResolution(pub NSInteger);Available on crate features
ARMatteGenerator and objc2 only.Expand description
The resolution at which the matte is to be generated.
The matte generated per frame can be full resolution of the captured camera image or half resolution. The caller chooses one of the options from ARMatteResolution during initialization.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Trait Implementations§
Source§impl Clone for ARMatteResolution
impl Clone for ARMatteResolution
Source§fn clone(&self) -> ARMatteResolution
fn clone(&self) -> ARMatteResolution
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 ARMatteResolution
impl Debug for ARMatteResolution
Source§impl Encode for ARMatteResolution
impl Encode for ARMatteResolution
Source§impl Hash for ARMatteResolution
impl Hash for ARMatteResolution
Source§impl Ord for ARMatteResolution
impl Ord for ARMatteResolution
Source§fn cmp(&self, other: &ARMatteResolution) -> Ordering
fn cmp(&self, other: &ARMatteResolution) -> 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 ARMatteResolution
impl PartialEq for ARMatteResolution
Source§impl PartialOrd for ARMatteResolution
impl PartialOrd for ARMatteResolution
Source§impl RefEncode for ARMatteResolution
impl RefEncode for ARMatteResolution
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 ARMatteResolution
impl Eq for ARMatteResolution
impl StructuralPartialEq for ARMatteResolution
Auto Trait Implementations§
impl Freeze for ARMatteResolution
impl RefUnwindSafe for ARMatteResolution
impl Send for ARMatteResolution
impl Sync for ARMatteResolution
impl Unpin for ARMatteResolution
impl UnwindSafe for ARMatteResolution
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.