#[non_exhaustive]pub enum StandardFeature {
Show 21 variants
ExposureTime,
Gain,
GainSelector,
AcquisitionMode,
TriggerSelector,
TriggerMode,
TriggerSource,
TriggerSoftware,
Width,
Height,
OffsetX,
OffsetY,
BinningHorizontal,
BinningVertical,
FrameRate,
FrameRateEnable,
UserSetSelector,
UserSetLoad,
UserSetSave,
UserSetDefault,
TlParamsLocked,
}Expand description
A standard feature the helpers look up, by the names cameras declare it under.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ExposureTime
ExposureTime, ExposureTimeAbs or ExposureTimeRaw.
Gain
Gain or GainRaw.
GainSelector
GainSelector.
AcquisitionMode
AcquisitionMode.
TriggerSelector
TriggerSelector.
TriggerMode
TriggerMode.
TriggerSource
TriggerSource.
TriggerSoftware
TriggerSoftware.
Width
Width.
Height
Height.
OffsetX
OffsetX.
OffsetY
OffsetY.
BinningHorizontal
BinningHorizontal.
BinningVertical
BinningVertical.
FrameRate
AcquisitionFrameRate or AcquisitionFrameRateAbs.
FrameRateEnable
AcquisitionFrameRateEnable or AcquisitionFrameRateEnabled.
UserSetSelector
UserSetSelector.
UserSetLoad
UserSetLoad.
UserSetSave
UserSetSave.
UserSetDefault
UserSetDefault or UserSetDefaultSelector.
TlParamsLocked
TLParamsLocked.
Implementations§
Source§impl StandardFeature
impl StandardFeature
Sourcepub const ALL: &'static [StandardFeature]
pub const ALL: &'static [StandardFeature]
Every standard feature the helpers use.
Sourcepub fn names(self) -> &'static [&'static str]
pub fn names(self) -> &'static [&'static str]
The names cameras declare it under, in the order they are tried.
Sourcepub fn description(self) -> &'static str
pub fn description(self) -> &'static str
What it is, for an error message.
Trait Implementations§
Source§impl Clone for StandardFeature
impl Clone for StandardFeature
impl Copy for StandardFeature
Source§impl Debug for StandardFeature
impl Debug for StandardFeature
impl Eq for StandardFeature
Source§impl Hash for StandardFeature
impl Hash for StandardFeature
Source§impl PartialEq for StandardFeature
impl PartialEq for StandardFeature
impl StructuralPartialEq for StandardFeature
Auto Trait Implementations§
impl Freeze for StandardFeature
impl RefUnwindSafe for StandardFeature
impl Send for StandardFeature
impl Sync for StandardFeature
impl Unpin for StandardFeature
impl UnsafeUnpin for StandardFeature
impl UnwindSafe for StandardFeature
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.