pub struct SavedLayout {
pub layout: Layout,
pub dormant: Vec<Dormant>,
}Expand description
A layout as saved: the layout, and the places of panels no longer
declared (their plugin is off, ADR 0028), kept so that a panel
declared again goes back where it was (Layout::repair_dormant).
Its document is the layout’s (schema), the places under dormant:
a layout saved without them reads as one with none.
Fields§
§layout: Layout§dormant: Vec<Dormant>Trait Implementations§
Source§impl Clone for SavedLayout
impl Clone for SavedLayout
Source§fn clone(&self) -> SavedLayout
fn clone(&self) -> SavedLayout
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 SavedLayout
impl Debug for SavedLayout
Source§impl Default for SavedLayout
impl Default for SavedLayout
Source§fn default() -> SavedLayout
fn default() -> SavedLayout
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SavedLayout
impl<'de> Deserialize<'de> for SavedLayout
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
Source§impl PartialEq for SavedLayout
impl PartialEq for SavedLayout
Source§impl Serialize for SavedLayout
impl Serialize for SavedLayout
impl StructuralPartialEq for SavedLayout
Auto Trait Implementations§
impl Freeze for SavedLayout
impl RefUnwindSafe for SavedLayout
impl Send for SavedLayout
impl Sync for SavedLayout
impl Unpin for SavedLayout
impl UnsafeUnpin for SavedLayout
impl UnwindSafe for SavedLayout
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