put core files in correct place

This commit is contained in:
l1npengtul
2022-08-19 00:05:33 +09:00
parent c913e92963
commit 97581b126d
4 changed files with 3 additions and 8 deletions
-3
View File
@@ -13,6 +13,3 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
pub mod traits;
pub mod types;
+3
View File
@@ -52,6 +52,9 @@ use v4l::{control::Description, Format, FourCC};
#[cfg(feature = "output-wasm")]
use wasm_bindgen::prelude::wasm_bindgen;
pub mod traits;
pub mod types;
/// Tells the init function what camera format to pick.
/// - `HighestResolution(Option<u32>)`: Pick the highest [`Resolution`] for the given framerate (the `Option<u32>`). If its `None`, it will pick the highest possible [`Resolution`]
/// - `HighestFrameRate(Option<Resolution>)`: Pick the highest frame rate for the given [`Resolution`] (the `Option<Resolution>`). If it is `None`, it will pick the highest possinle framerate.
@@ -14,11 +14,6 @@
* limitations under the License.
*/
use crate::{
error::NokhwaError,
utils::{CameraFormat, CameraInfo, FrameFormat, Resolution},
Buffer, CameraControl, CameraIndex, ControlValueSetter, KnownCameraControl, RequestedFormat,
};
use std::{borrow::Cow, collections::HashMap};
#[cfg(feature = "output-wgpu")]
use wgpu::{