pub struct PtzTelemetry {
pub pan: f32,
pub tilt: f32,
pub zoom: f32,
pub ts: MonotonicTs,
}Expand description
Raw PTZ (Pan-Tilt-Zoom) telemetry from the camera.
Provided by ViewStateProvider implementations that have access
to PTZ control systems (ONVIF, serial protocols, etc.).
Fields§
§pan: f32Pan angle in degrees.
tilt: f32Tilt angle in degrees.
zoom: f32Zoom level, normalized to [0, 1] where 1 = maximum zoom.
ts: MonotonicTsTimestamp of this telemetry reading.
Trait Implementations§
Source§impl Clone for PtzTelemetry
impl Clone for PtzTelemetry
Source§fn clone(&self) -> PtzTelemetry
fn clone(&self) -> PtzTelemetry
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 PtzTelemetry
impl Debug for PtzTelemetry
Source§impl PartialEq for PtzTelemetry
impl PartialEq for PtzTelemetry
impl StructuralPartialEq for PtzTelemetry
Auto Trait Implementations§
impl Freeze for PtzTelemetry
impl RefUnwindSafe for PtzTelemetry
impl Send for PtzTelemetry
impl Sync for PtzTelemetry
impl Unpin for PtzTelemetry
impl UnsafeUnpin for PtzTelemetry
impl UnwindSafe for PtzTelemetry
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