pub struct ViewDoc {
pub layouts: BTreeMap<String, Layout>,
pub views: BTreeMap<String, ViewState>,
pub places: BTreeMap<String, BTreeMap<String, Value>>,
}Expand description
The view document: the projection’s layouts and view states, by
projection key (State::projection_key), and values kept per place
(the top place’s frame id, root at the root: the status bar’s
choices).
Fields§
§layouts: BTreeMap<String, Layout>§views: BTreeMap<String, ViewState>§places: BTreeMap<String, BTreeMap<String, Value>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ViewDoc
impl<'de> Deserialize<'de> for ViewDoc
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 ViewDoc
Auto Trait Implementations§
impl Freeze for ViewDoc
impl RefUnwindSafe for ViewDoc
impl Send for ViewDoc
impl Sync for ViewDoc
impl Unpin for ViewDoc
impl UnsafeUnpin for ViewDoc
impl UnwindSafe for ViewDoc
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