pub struct BroadcastNode<U, C>{ /* private fields */ }
Expand description
Broadcast node implementation
Implementations§
Source§impl<U, C> BroadcastNode<U, C>
impl<U, C> BroadcastNode<U, C>
pub fn new() -> BroadcastNode<U, C>
Trait Implementations§
Source§impl<U, T> GraphNode<(&T, usize), SerializedVec<U, T>, &SerializedVec<U, T>, T> for BroadcastNode<U, &SerializedVec<U, T>>where
U: Default + Clone + Copy + Send + Sync + Add<Output = U> + 'static,
for<'a> T: SliceSize + AsView<'a> + MakeView<'a, U> + Default + Clone + Send + Sync + Add<Output = T> + Add<<T as AsView<'a>>::ViewType, Output = T>,
for<'a> <T as AsView<'a>>::ViewType: Send,
SerializedVec<U, T>: From<Vec<T>>,
impl<U, T> GraphNode<(&T, usize), SerializedVec<U, T>, &SerializedVec<U, T>, T> for BroadcastNode<U, &SerializedVec<U, T>>where
U: Default + Clone + Copy + Send + Sync + Add<Output = U> + 'static,
for<'a> T: SliceSize + AsView<'a> + MakeView<'a, U> + Default + Clone + Send + Sync + Add<Output = T> + Add<<T as AsView<'a>>::ViewType, Output = T>,
for<'a> <T as AsView<'a>>::ViewType: Send,
SerializedVec<U, T>: From<Vec<T>>,
Source§impl<'b, U, T> GraphNode<(&T, usize), SerializedVec<U, T>, SerializedVecView<'b, U, T>, T> for BroadcastNode<U, SerializedVecView<'b, U, T>>where
U: Default + Clone + Copy + Send + Sync + Add<Output = U> + 'static,
for<'a> T: SliceSize + AsView<'a> + MakeView<'a, U> + Default + Clone + Send + Sync + Add<Output = T> + Add<<T as AsView<'a>>::ViewType, Output = T>,
for<'a> <T as AsView<'a>>::ViewType: Send,
SerializedVec<U, T>: From<Vec<T>>,
impl<'b, U, T> GraphNode<(&T, usize), SerializedVec<U, T>, SerializedVecView<'b, U, T>, T> for BroadcastNode<U, SerializedVecView<'b, U, T>>where
U: Default + Clone + Copy + Send + Sync + Add<Output = U> + 'static,
for<'a> T: SliceSize + AsView<'a> + MakeView<'a, U> + Default + Clone + Send + Sync + Add<Output = T> + Add<<T as AsView<'a>>::ViewType, Output = T>,
for<'a> <T as AsView<'a>>::ViewType: Send,
SerializedVec<U, T>: From<Vec<T>>,
Auto Trait Implementations§
impl<U, C> Freeze for BroadcastNode<U, C>
impl<U, C> RefUnwindSafe for BroadcastNode<U, C>where
U: RefUnwindSafe,
C: RefUnwindSafe,
impl<U, C> Send for BroadcastNode<U, C>where
C: Send,
impl<U, C> Sync for BroadcastNode<U, C>where
C: Sync,
impl<U, C> Unpin for BroadcastNode<U, C>
impl<U, C> UnwindSafe for BroadcastNode<U, C>where
U: UnwindSafe,
C: 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more