Browse Source

camera: Fix unimplemented module imports

pipelines/816197
Kévin Commaille 1 year ago
parent
commit
cdeee6bffb
No known key found for this signature in database
GPG Key ID: C971D9DBC9D678D
  1. 2
      src/components/camera/mod.rs

2
src/components/camera/mod.rs

@ -38,6 +38,8 @@ pub trait CameraExt {
/// The fallback `Camera` API, to use on platforms where it is unimplemented.
#[cfg(not(target_os = "linux"))]
mod unimplemented {
use super::*;
#[derive(Debug)]
pub(crate) struct UnimplementedCamera;

Loading…
Cancel
Save