pub struct FlowLayout {
pub connections: HashSet<(Uuid, Uuid)>,
}
Expand description
Represents the flows of the application.
Fields§
§connections: HashSet<(Uuid, Uuid)>
Implementations§
Source§impl FlowLayout
impl FlowLayout
Sourcepub fn connect(
&mut self,
a: impl Into<PrimitiveID>,
b: impl Into<PrimitiveID>,
) -> Result<(), Report>
pub fn connect( &mut self, a: impl Into<PrimitiveID>, b: impl Into<PrimitiveID>, ) -> Result<(), Report>
Connects two primitives in the graph. The order does not matter.
Trait Implementations§
Source§impl Clone for FlowLayout
impl Clone for FlowLayout
Source§fn clone(&self) -> FlowLayout
fn clone(&self) -> FlowLayout
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 moreAuto Trait Implementations§
impl Freeze for FlowLayout
impl RefUnwindSafe for FlowLayout
impl Send for FlowLayout
impl Sync for FlowLayout
impl Unpin for FlowLayout
impl UnwindSafe for FlowLayout
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