pub struct AnyStaticChannel { /* private fields */ }
Expand description
The any channel can represent any static channel at runtime. This can be used to have fewer generic parameters in some places.
Trait Implementations§
Source§impl Channel for AnyStaticChannel
impl Channel for AnyStaticChannel
Source§impl Peripheral for AnyStaticChannel
impl Peripheral for AnyStaticChannel
Source§type P = AnyStaticChannel
type P = AnyStaticChannel
Peripheral singleton type
Source§unsafe fn clone_unchecked(&self) -> Self::P
unsafe fn clone_unchecked(&self) -> Self::P
Unsafely clone (duplicate) a peripheral singleton. Read more
Source§impl StaticChannel for AnyStaticChannel
impl StaticChannel for AnyStaticChannel
Source§fn degrade(self) -> AnyStaticChannel
fn degrade(self) -> AnyStaticChannel
Convert into a type erased static channel.
Auto Trait Implementations§
impl Freeze for AnyStaticChannel
impl RefUnwindSafe for AnyStaticChannel
impl Send for AnyStaticChannel
impl Sync for AnyStaticChannel
impl Unpin for AnyStaticChannel
impl UnwindSafe for AnyStaticChannel
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