pub struct Sig<T: ?Sized + 'static> {
pub entry: &'static Coupling,
pub target: &'static T,
}Expand description
A typed handle to a signal declared in a reads:/writes: list.
Fields§
§entry: &'static CouplingThe call site’s entry: path text plus the type-erased identity.
target: &'static TThe signal, concretely typed.
Trait Implementations§
impl<T: Copy + ?Sized + 'static> Copy for Sig<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Sig<T>
impl<T> !UnwindSafe for Sig<T>
impl<T> Freeze for Sig<T>
impl<T> Send for Sig<T>
impl<T> Sync for Sig<T>
impl<T> Unpin for Sig<T>
impl<T> UnsafeUnpin for Sig<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