pub struct Layout {
pub version: u32,
pub bounds: Bounds,
pub components: Vec<PlacedComponent>,
pub wires: Vec<Wire>,
pub groups: Vec<Group>,
pub supply_rails: Vec<SupplyRail>,
pub signal_path_order: Vec<usize>,
}Expand description
Complete schematic layout — the output of crate::generate_layout.
Fields§
§version: u32Format version (currently 1).
bounds: BoundsCanvas bounds in layout units.
components: Vec<PlacedComponent>Positioned components with symbol and group assignments.
wires: Vec<Wire>Routed wires connecting component pins.
groups: Vec<Group>Functional groups (gain stages, tone stacks, etc.).
supply_rails: Vec<SupplyRail>Supply rail positions.
signal_path_order: Vec<usize>Component indices in signal-path order (input → output).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Layout
impl<'de> Deserialize<'de> for Layout
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 Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnsafeUnpin for Layout
impl UnwindSafe for Layout
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