pub struct UiSnapshot {
pub edges: Vec<EdgeInfo>,
pub service_states: Vec<ServiceStateEntry>,
pub device_states: Vec<DeviceStateEntry>,
pub mappings: Vec<Mapping>,
pub glyphs: Vec<Glyph>,
}Expand description
Initial full state sent on /ws/ui connect. Subsequent changes arrive
as UiFrame variants.
Fields§
§edges: Vec<EdgeInfo>§service_states: Vec<ServiceStateEntry>§device_states: Vec<DeviceStateEntry>§mappings: Vec<Mapping>§glyphs: Vec<Glyph>Trait Implementations§
Source§impl Clone for UiSnapshot
impl Clone for UiSnapshot
Source§fn clone(&self) -> UiSnapshot
fn clone(&self) -> UiSnapshot
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 UiSnapshot
impl Debug for UiSnapshot
Source§impl<'de> Deserialize<'de> for UiSnapshot
impl<'de> Deserialize<'de> for UiSnapshot
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
Auto Trait Implementations§
impl Freeze for UiSnapshot
impl RefUnwindSafe for UiSnapshot
impl Send for UiSnapshot
impl Sync for UiSnapshot
impl Unpin for UiSnapshot
impl UnsafeUnpin for UiSnapshot
impl UnwindSafe for UiSnapshot
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