pub struct FlattenNode<T> { /* private fields */ }Expand description
Flattens a Vec<Vec<T>> into a Vec<T>.
Implementations§
Source§impl<T> FlattenNode<T>
impl<T> FlattenNode<T>
Trait Implementations§
Source§impl<T: Clone> Clone for FlattenNode<T>
impl<T: Clone> Clone for FlattenNode<T>
Source§fn clone(&self) -> FlattenNode<T>
fn clone(&self) -> FlattenNode<T>
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<T: Debug> Debug for FlattenNode<T>
impl<T: Debug> Debug for FlattenNode<T>
Source§impl<T> Default for FlattenNode<T>
impl<T> Default for FlattenNode<T>
Source§impl<T> Transition<Vec<Vec<T>>, Vec<T>> for FlattenNode<T>
impl<T> Transition<Vec<Vec<T>>, Vec<T>> for FlattenNode<T>
Source§type Resources = ()
type Resources = ()
The type of resources required by this transition.
This follows the “Hard-Wired Types” principle from the Master Plan.
Source§fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
input: Vec<Vec<T>>,
_resources: &'life1 Self::Resources,
_bus: &'life2 mut Bus,
) -> Pin<Box<dyn Future<Output = Outcome<Vec<T>, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
input: Vec<Vec<T>>,
_resources: &'life1 Self::Resources,
_bus: &'life2 mut Bus,
) -> Pin<Box<dyn Future<Output = Outcome<Vec<T>, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Execute the transition. Read more
Source§fn description(&self) -> Option<String>
fn description(&self) -> Option<String>
Returns a detailed description of what this transition does.
Source§fn position(&self) -> Option<(f32, f32)>
fn position(&self) -> Option<(f32, f32)>
Returns the visual position of this transition in a schematic.
(x, y) coordinates.
Source§fn bus_access_policy(&self) -> Option<BusAccessPolicy>
fn bus_access_policy(&self) -> Option<BusAccessPolicy>
Optional transition-scoped Bus access policy (M143). Read more
Auto Trait Implementations§
impl<T> Freeze for FlattenNode<T>
impl<T> RefUnwindSafe for FlattenNode<T>where
T: RefUnwindSafe,
impl<T> Send for FlattenNode<T>where
T: Send,
impl<T> Sync for FlattenNode<T>where
T: Sync,
impl<T> Unpin for FlattenNode<T>where
T: Unpin,
impl<T> UnsafeUnpin for FlattenNode<T>
impl<T> UnwindSafe for FlattenNode<T>where
T: UnwindSafe,
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