pub struct SectionConfig {
pub widget_id: String,
pub visible: bool,
pub position: Option<LayoutPosition>,
pub size: Option<LayoutSize>,
pub props: HashMap<String, String>,
}Expand description
Section configuration with optional 2D positioning
Fields§
§widget_id: StringWidget ID (e.g., “header”, “effects”, “midi”)
visible: boolWhether this section is visible
position: Option<LayoutPosition>Optional 2D position (for future grid/absolute layout)
size: Option<LayoutSize>Optional size hints
props: HashMap<String, String>Section-specific properties
Implementations§
Trait Implementations§
Source§impl Clone for SectionConfig
impl Clone for SectionConfig
Source§fn clone(&self) -> SectionConfig
fn clone(&self) -> SectionConfig
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 SectionConfig
impl Debug for SectionConfig
Source§impl<'de> Deserialize<'de> for SectionConfig
impl<'de> Deserialize<'de> for SectionConfig
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 SectionConfig
impl RefUnwindSafe for SectionConfig
impl Send for SectionConfig
impl Sync for SectionConfig
impl Unpin for SectionConfig
impl UnwindSafe for SectionConfig
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