pub struct DerivedLayout {
pub size_class: SizeClass,
pub switcher_form: SwitcherForm,
pub split_form: SplitForm,
pub bottom_owner: BottomOwner,
pub layout_tree: Option<LayoutTree>,
}Expand description
Shared-core output bound by each platform skin. The pure core view: the
resolved sizeClass/forms/bottomOwner and the authoritative
layoutTree. The renderable, skin-bindable contract is
LayoutPresentationPlan (derived from this graph), not this type.
Fields§
§size_class: SizeClass§switcher_form: SwitcherForm§split_form: SplitForm§bottom_owner: BottomOwner§layout_tree: Option<LayoutTree>Trait Implementations§
Source§impl Clone for DerivedLayout
impl Clone for DerivedLayout
Source§fn clone(&self) -> DerivedLayout
fn clone(&self) -> DerivedLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DerivedLayout
impl Debug for DerivedLayout
Source§impl<'de> Deserialize<'de> for DerivedLayout
impl<'de> Deserialize<'de> for DerivedLayout
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 DerivedLayout
impl PartialEq for DerivedLayout
Source§fn eq(&self, other: &DerivedLayout) -> bool
fn eq(&self, other: &DerivedLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DerivedLayout
impl Serialize for DerivedLayout
impl StructuralPartialEq for DerivedLayout
Auto Trait Implementations§
impl Freeze for DerivedLayout
impl RefUnwindSafe for DerivedLayout
impl Send for DerivedLayout
impl Sync for DerivedLayout
impl Unpin for DerivedLayout
impl UnsafeUnpin for DerivedLayout
impl UnwindSafe for DerivedLayout
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