Struct bark::Bark
[−]
[src]
pub struct Bark<T: ?Sized> { /* fields omitted */ }
A Bark Pointer.
In order to send a Barksendable()
on your Bark
.
Methods
impl<T: ?Sized> Bark<T>
[src]
pub fn new(value: T) -> Bark<T> where
T: Sized,
[src]
T: Sized,
Create a new Bark
pub fn sendable(&self) -> BarkSend<T> where
T: Send + Sync,
[src]
T: Send + Sync,
Creates a BarkSend which can be sent across thread boundaries
Trait Implementations
impl<T: ?Sized + Sync> Sync for Bark<T>
[src]
impl<T: ?Sized> Clone for Bark<T>
[src]
fn clone(&self) -> Bark<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more