Module nokhwa::utils

source ·

Structs

  • This struct tells you everything about a particular KnownCameraControl.
  • This is a convenience struct that holds all information about the format of a webcam stream. It consists of a Resolution, FrameFormat, and a frame rate(u8).
  • Information about a Camera e.g. its name. description amd misc may contain information that may differ from backend to backend. Refer to each backend for details. index is a camera’s index given to it by (usually) the OS usually in the order it is known to the system.
  • A request to the camera for a valid CameraFormat
  • Describes a Resolution. This struct consists of a Width and a Height value (x,y).
    Note: the Ord implementation of this struct is flipped from highest to lowest.

Enums

Functions