Struct nokhwa::CameraInfo [−][src]
pub struct CameraInfo { /* fields omitted */ }
Expand description
Information about a Camera e.g. its name.
description
amd misc
may contain backend-specific information.
index
is a camera’s index given to it by (usually) the OS usually in the order it is known to the system.
Implementations
Create a new CameraInfo
.
Get a reference to the device info’s human name.
Set the device info’s human name.
Get a reference to the device info’s description.
Set the device info’s description.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for CameraInfo
impl Send for CameraInfo
impl Sync for CameraInfo
impl Unpin for CameraInfo
impl UnwindSafe for CameraInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Compare self to key
and return true
if they are equal.