pub struct CameraOrientation {
pub policy: &'static str,
pub maker_note_offset: Option<u32>,
pub auto_rotate_offset: Option<u32>,
}Expand description
Per-camera orientation data (see orientation in docs/camera-db.md).
Fields§
§policy: &'static strPolicy name overriding the make’s rule (“” = use the rule).
maker_note_offset: Option<u32>Byte offset of the orientation-sensor field in the vendor camera-info record.
auto_rotate_offset: Option<u32>Byte offset of the Auto Rotate setting in the same record.
Trait Implementations§
Source§impl Clone for CameraOrientation
impl Clone for CameraOrientation
impl Copy for CameraOrientation
Source§impl Debug for CameraOrientation
impl Debug for CameraOrientation
Source§impl PartialEq for CameraOrientation
impl PartialEq for CameraOrientation
impl StructuralPartialEq for CameraOrientation
Auto Trait Implementations§
impl Freeze for CameraOrientation
impl RefUnwindSafe for CameraOrientation
impl Send for CameraOrientation
impl Sync for CameraOrientation
impl Unpin for CameraOrientation
impl UnsafeUnpin for CameraOrientation
impl UnwindSafe for CameraOrientation
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