pub struct LayoutResult {
pub positions: HashMap<String, (f64, f64)>,
pub patcher_size: (f64, f64),
}Expand description
Layout result: node positions and patcher dimensions.
Fields§
§positions: HashMap<String, (f64, f64)>node_id -> (x, y) position
patcher_size: (f64, f64)Computed patcher dimensions (width, height)
Auto Trait Implementations§
impl Freeze for LayoutResult
impl RefUnwindSafe for LayoutResult
impl Send for LayoutResult
impl Sync for LayoutResult
impl Unpin for LayoutResult
impl UnsafeUnpin for LayoutResult
impl UnwindSafe for LayoutResult
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