Struct ci2_async::ThreadedAsyncCameraModule
source · pub struct ThreadedAsyncCameraModule<M, C, G>{ /* private fields */ }
Implementations§
source§impl<M, C, G> ThreadedAsyncCameraModule<M, C, G>
impl<M, C, G> ThreadedAsyncCameraModule<M, C, G>
pub fn threaded_async_camera( &mut self, name: &str ) -> Result<ThreadedAsyncCamera<C>>
Trait Implementations§
source§impl<M, C, G> CameraModule for ThreadedAsyncCameraModule<M, C, G>
impl<M, C, G> CameraModule for ThreadedAsyncCameraModule<M, C, G>
type CameraType = C
type Guard = G
fn name(&self) -> &str
fn camera_infos(&self) -> Result<Vec<Box<dyn CameraInfo>>>
fn camera(&mut self, name: &str) -> Result<C>
source§fn settings_file_extension(&self) -> &str
fn settings_file_extension(&self) -> &str
The file extension for node map settings. Read more
fn frame_info_extractor(&self) -> &'static dyn ExtractFrameInfo
Auto Trait Implementations§
impl<M, C, G> Freeze for ThreadedAsyncCameraModule<M, C, G>where
M: Freeze,
impl<M, C, G> RefUnwindSafe for ThreadedAsyncCameraModule<M, C, G>
impl<M, C, G> Send for ThreadedAsyncCameraModule<M, C, G>where
C: Send,
impl<M, C, G> Sync for ThreadedAsyncCameraModule<M, C, G>
impl<M, C, G> Unpin for ThreadedAsyncCameraModule<M, C, G>
impl<M, C, G> UnwindSafe for ThreadedAsyncCameraModule<M, C, G>
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more