Struct rustc_expand::proc_macro::CrossbeamMessagePipe
source · [−]Fields
tx: Sender<T>
rx: Receiver<T>
Trait Implementations
sourceimpl<T> MessagePipe<T> for CrossbeamMessagePipe<T>
impl<T> MessagePipe<T> for CrossbeamMessagePipe<T>
sourcefn new() -> (Self, Self)
fn new() -> (Self, Self)
🔬This is a nightly-only experimental API. (
proc_macro_internals
)Create a new pair of endpoints for the message pipe.
Auto Trait Implementations
impl<T> RefUnwindSafe for CrossbeamMessagePipe<T>
impl<T> Send for CrossbeamMessagePipe<T>where
T: Send,
impl<T> Sync for CrossbeamMessagePipe<T>where
T: Send,
impl<T> Unpin for CrossbeamMessagePipe<T>where
T: Unpin,
impl<T> UnwindSafe for CrossbeamMessagePipe<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes