pub struct Gate<Rust = Infallible> { /* private fields */ }Expand description
A gate, or rather a single node of a Component
put a gate implemented in rust (or an enum of them) in <Rust> to use it
(or them)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Rust> Freeze for Gate<Rust>where
Rust: Freeze,
impl<Rust> RefUnwindSafe for Gate<Rust>where
Rust: RefUnwindSafe,
impl<Rust> Send for Gate<Rust>where
Rust: Send,
impl<Rust> Sync for Gate<Rust>where
Rust: Sync,
impl<Rust> Unpin for Gate<Rust>where
Rust: Unpin,
impl<Rust> UnwindSafe for Gate<Rust>where
Rust: 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