pub struct StackDesc {
pub id: StackId,
pub title: Cow<'static, str>,
pub members: Vec<NodeId>,
pub accent: Option<Color32>,
}Expand description
Per-frame description of a stack: an ordered container of member nodes.
A stack carries no ports of its own (e.g. a modifier list); its only relationship between members is their order. Member nodes keep their own ports, and links attach to those member ports directly.
Fields§
§id: StackId§title: Cow<'static, str>§members: Vec<NodeId>Member nodes, top to bottom in execution order.
accent: Option<Color32>Optional frame/header accent color.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StackDesc
impl RefUnwindSafe for StackDesc
impl Send for StackDesc
impl Sync for StackDesc
impl Unpin for StackDesc
impl UnsafeUnpin for StackDesc
impl UnwindSafe for StackDesc
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