pub struct StoreWrapper(pub NodeIndex);Tuple Fields§
§0: NodeIndexImplementations§
Source§impl StoreWrapper
impl StoreWrapper
Sourcepub fn inputs(self, graph: &Graph) -> impl Iterator<Item = StoreWrapper> + '_
pub fn inputs(self, graph: &Graph) -> impl Iterator<Item = StoreWrapper> + '_
Returns an iterator over any input stores.
Sourcepub fn outputs(self, graph: &Graph) -> impl Iterator<Item = StoreWrapper> + '_
pub fn outputs(self, graph: &Graph) -> impl Iterator<Item = StoreWrapper> + '_
Returns an iterator over any output stores.
Sourcepub fn set_input(&self, graph: &mut Graph, store: Option<StoreWrapper>)
pub fn set_input(&self, graph: &mut Graph, store: Option<StoreWrapper>)
Sets the input of the store. This will remove any existing inputs.
Sourcepub fn add_output(&self, graph: &mut Graph, store: StoreWrapper)
pub fn add_output(&self, graph: &mut Graph, store: StoreWrapper)
Adds an output edge to the given store.
Trait Implementations§
Source§impl Clone for StoreWrapper
impl Clone for StoreWrapper
Source§fn clone(&self) -> StoreWrapper
fn clone(&self) -> StoreWrapper
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 Debug for StoreWrapper
impl Debug for StoreWrapper
impl Copy for StoreWrapper
Auto Trait Implementations§
impl Freeze for StoreWrapper
impl RefUnwindSafe for StoreWrapper
impl Send for StoreWrapper
impl Sync for StoreWrapper
impl Unpin for StoreWrapper
impl UnwindSafe for StoreWrapper
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