Struct libcamera::camera_manager::CameraManager
source · pub struct CameraManager { /* private fields */ }
Expand description
Camera manager used to enumerate available cameras in the system.
Implementations§
source§impl CameraManager
impl CameraManager
sourcepub fn cameras(&self) -> CameraList<'_>
pub fn cameras(&self) -> CameraList<'_>
Enumerates cameras within the system.
sourcepub fn log_set_level(&self, category: &str, level: LoggingLevel)
pub fn log_set_level(&self, category: &str, level: LoggingLevel)
Set the log level.
§Parameters
category
- Free-form category string, a list of those can be seen by runninggrep 'LOG_DEFINE_CATEGORY(' -R
on thelibcamera
source codelevel
- Maximum log importance level to show, anything more less important than that will be hidden.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CameraManager
impl RefUnwindSafe for CameraManager
impl !Send for CameraManager
impl !Sync for CameraManager
impl Unpin for CameraManager
impl UnwindSafe for CameraManager
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