pub struct Branch<T> {
pub source: usize,
pub target: usize,
pub condition: Arc<dyn Fn(&T) -> bool + Send + Sync>,
}Fields§
§source: usize§target: usize§condition: Arc<dyn Fn(&T) -> bool + Send + Sync>Auto Trait Implementations§
impl<T> Freeze for Branch<T>
impl<T> !RefUnwindSafe for Branch<T>
impl<T> Send for Branch<T>
impl<T> Sync for Branch<T>
impl<T> Unpin for Branch<T>
impl<T> !UnwindSafe for Branch<T>
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