#[non_exhaustive]pub enum XmlProfile {
Sfnc,
Legacy,
}Expand description
Which GenApi XML the fake serves.
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.
Sfnc
FAKE_XML: SFNC 2 names — ExposureTime, Gain,
AcquisitionFrameRate, UserSetDefault — with TLParamsLocked an
<Integer>.
Legacy
The names older cameras use instead, as the Basler acA1600-20gm
declares them (Basler_acA1600_20gm.xml in the vendor corpus):
ExposureTimeAbs with no ExposureTime, GainRaw (an <Integer>
per GainSelector entry) with no Gain, AcquisitionFrameRateAbs,
UserSetDefaultSelector; and TLParamsLocked a <Boolean> with a
<Value>, as AVT and Prosilica declare it. Same registers, same
behaviour.
Trait Implementations§
Source§impl Clone for XmlProfile
impl Clone for XmlProfile
impl Copy for XmlProfile
Source§impl Debug for XmlProfile
impl Debug for XmlProfile
Source§impl Default for XmlProfile
impl Default for XmlProfile
impl Eq for XmlProfile
Source§impl PartialEq for XmlProfile
impl PartialEq for XmlProfile
impl StructuralPartialEq for XmlProfile
Auto Trait Implementations§
impl Freeze for XmlProfile
impl RefUnwindSafe for XmlProfile
impl Send for XmlProfile
impl Sync for XmlProfile
impl Unpin for XmlProfile
impl UnsafeUnpin for XmlProfile
impl UnwindSafe for XmlProfile
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