Struct ndk_sys::ACameraDevice_StateCallbacks
source · #[repr(C)]pub struct ACameraDevice_StateCallbacks {
pub context: *mut c_void,
pub onDisconnected: ACameraDevice_StateCallback,
pub onError: ACameraDevice_ErrorStateCallback,
}
Fields
context: *mut c_void
onDisconnected: ACameraDevice_StateCallback
onError: ACameraDevice_ErrorStateCallback
Trait Implementations
sourceimpl Clone for ACameraDevice_StateCallbacks
impl Clone for ACameraDevice_StateCallbacks
sourcefn clone(&self) -> ACameraDevice_StateCallbacks
fn clone(&self) -> ACameraDevice_StateCallbacks
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ACameraDevice_StateCallbacks
impl Debug for ACameraDevice_StateCallbacks
impl Copy for ACameraDevice_StateCallbacks
Auto Trait Implementations
impl RefUnwindSafe for ACameraDevice_StateCallbacks
impl !Send for ACameraDevice_StateCallbacks
impl !Sync for ACameraDevice_StateCallbacks
impl Unpin for ACameraDevice_StateCallbacks
impl UnwindSafe for ACameraDevice_StateCallbacks
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more