#[non_exhaustive]pub enum MotionSource {
Auto,
Gyro,
Flow,
}Expand description
Where a stabilizer’s camera motion comes from.
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.
Auto
Gyro if the file has telemetry auto trusts, else optical flow.
Gyro
The file’s gyro or attitude telemetry; an error if it has none.
Flow
Optical flow.
Implementations§
Trait Implementations§
Source§impl Clone for MotionSource
impl Clone for MotionSource
impl Copy for MotionSource
Source§impl Debug for MotionSource
impl Debug for MotionSource
Source§impl Default for MotionSource
impl Default for MotionSource
Source§impl Display for MotionSource
impl Display for MotionSource
impl Eq for MotionSource
Source§impl FromStr for MotionSource
impl FromStr for MotionSource
Source§impl Hash for MotionSource
impl Hash for MotionSource
Source§impl PartialEq for MotionSource
impl PartialEq for MotionSource
impl StructuralPartialEq for MotionSource
Auto Trait Implementations§
impl Forget for MotionSource
impl Freeze for MotionSource
impl RefUnwindSafe for MotionSource
impl Send for MotionSource
impl Sync for MotionSource
impl Unpin for MotionSource
impl UnsafeUnpin for MotionSource
impl UnwindSafe for MotionSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.