pub enum NativeHandleKind {
CvPixelBuffer,
AHardwareBuffer,
}Expand description
Which platform object a NativeHandle points at — the key a
NativeImporter is installed under.
Variants§
Trait Implementations§
Source§impl Clone for NativeHandleKind
impl Clone for NativeHandleKind
impl Copy for NativeHandleKind
Source§impl Debug for NativeHandleKind
impl Debug for NativeHandleKind
impl Eq for NativeHandleKind
Source§impl Hash for NativeHandleKind
impl Hash for NativeHandleKind
Source§impl PartialEq for NativeHandleKind
impl PartialEq for NativeHandleKind
impl StructuralPartialEq for NativeHandleKind
Auto Trait Implementations§
impl Freeze for NativeHandleKind
impl RefUnwindSafe for NativeHandleKind
impl Send for NativeHandleKind
impl Sync for NativeHandleKind
impl Unpin for NativeHandleKind
impl UnsafeUnpin for NativeHandleKind
impl UnwindSafe for NativeHandleKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.