pub struct DockLayout {
pub layout_version: u32,
pub windows: Vec<DockLayoutWindow>,
pub nodes: Vec<DockLayoutNode>,
}Fields§
§layout_version: u32§windows: Vec<DockLayoutWindow>§nodes: Vec<DockLayoutNode>Implementations§
Source§impl DockLayout
impl DockLayout
pub fn new(windows: Vec<DockLayoutWindow>, nodes: Vec<DockLayoutNode>) -> Self
pub fn validate(&self) -> Result<(), DockLayoutValidationError>
Trait Implementations§
Source§impl Clone for DockLayout
impl Clone for DockLayout
Source§fn clone(&self) -> DockLayout
fn clone(&self) -> DockLayout
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 DockLayout
impl Debug for DockLayout
Source§impl<'de> Deserialize<'de> for DockLayout
impl<'de> Deserialize<'de> for DockLayout
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 DockLayout
impl RefUnwindSafe for DockLayout
impl Send for DockLayout
impl Sync for DockLayout
impl Unpin for DockLayout
impl UnsafeUnpin for DockLayout
impl UnwindSafe for DockLayout
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