pub struct PmiView {
pub id: String,
pub name: String,
pub camera: Option<PmiCamera>,
pub display: PmiDisplay,
pub annotations: Vec<PmiAnnotation>,
}Expand description
A PMI view: a camera snapshot, display state and the annotations it owns.
Fields§
§id: String§name: String§camera: Option<PmiCamera>§display: PmiDisplay§annotations: Vec<PmiAnnotation>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PmiView
impl<'de> Deserialize<'de> for PmiView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for PmiView
Auto Trait Implementations§
impl Freeze for PmiView
impl RefUnwindSafe for PmiView
impl Send for PmiView
impl Sync for PmiView
impl Unpin for PmiView
impl UnsafeUnpin for PmiView
impl UnwindSafe for PmiView
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