#[repr(u8)]pub enum FrameRateValue {
Fps1 = 1,
Fps10 = 0,
}Expand description
The frame rate of the camera. Internally, the sensor always runs at 10 FPS, but in 1 FPS mode it is averaging the frames internally to reduce noise. The names are slightly different from those used in the datasheet to conform to Rust’s identifier rules.
Variants§
Trait Implementations§
Source§impl Clone for FrameRateValue
impl Clone for FrameRateValue
Source§fn clone(&self) -> FrameRateValue
fn clone(&self) -> FrameRateValue
Returns a duplicate 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 Debug for FrameRateValue
impl Debug for FrameRateValue
Source§impl From<FrameRateValue> for u8
impl From<FrameRateValue> for u8
Source§fn from(enum_value: FrameRateValue) -> Self
fn from(enum_value: FrameRateValue) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FrameRateValue
impl PartialEq for FrameRateValue
Source§impl TryFrom<u8> for FrameRateValue
impl TryFrom<u8> for FrameRateValue
Source§type Error = TryFromPrimitiveError<FrameRateValue>
type Error = TryFromPrimitiveError<FrameRateValue>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for FrameRateValue
impl TryFromPrimitive for FrameRateValue
impl Copy for FrameRateValue
impl StructuralPartialEq for FrameRateValue
Auto Trait Implementations§
impl Freeze for FrameRateValue
impl RefUnwindSafe for FrameRateValue
impl Send for FrameRateValue
impl Sync for FrameRateValue
impl Unpin for FrameRateValue
impl UnwindSafe for FrameRateValue
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