#[repr(i32)]pub enum HdrChannel {
None = 0,
Short = 1,
Medium = 2,
Long = 3,
}
Expand description
The HDR channel used to capture the frame.
This value is reported back to the application so that it can discover whether this capture corresponds to the short or long exposure image (or any other image used by the HDR procedure). An application can monitor the HDR channel to discover when the differently exposed images have arrived.
This metadata is only available when an HDR mode has been enabled.
\sa HdrMode
Variants§
None = 0
This image does not correspond to any of the captures used to create an HDR image.
Short = 1
This is a short exposure image.
Medium = 2
This is a medium exposure image.
Long = 3
This is a long exposure image.
Trait Implementations§
Source§impl Clone for HdrChannel
impl Clone for HdrChannel
Source§fn clone(&self) -> HdrChannel
fn clone(&self) -> HdrChannel
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl ControlEntry for HdrChannel
impl ControlEntry for HdrChannel
Source§impl Debug for HdrChannel
impl Debug for HdrChannel
Source§impl From<HdrChannel> for ControlValue
impl From<HdrChannel> for ControlValue
Source§fn from(val: HdrChannel) -> Self
fn from(val: HdrChannel) -> Self
Converts to this type from the input type.
Source§impl From<HdrChannel> for i32
impl From<HdrChannel> for i32
Source§fn from(enum_value: HdrChannel) -> Self
fn from(enum_value: HdrChannel) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HdrChannel
impl PartialEq for HdrChannel
Source§impl TryFrom<ControlValue> for HdrChannel
impl TryFrom<ControlValue> for HdrChannel
Source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
Source§impl TryFrom<i32> for HdrChannel
impl TryFrom<i32> for HdrChannel
Source§impl TryFromPrimitive for HdrChannel
impl TryFromPrimitive for HdrChannel
impl Control for HdrChannel
impl Copy for HdrChannel
impl Eq for HdrChannel
impl StructuralPartialEq for HdrChannel
Auto Trait Implementations§
impl Freeze for HdrChannel
impl RefUnwindSafe for HdrChannel
impl Send for HdrChannel
impl Sync for HdrChannel
impl Unpin for HdrChannel
impl UnwindSafe for HdrChannel
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