pub struct Send { /* private fields */ }Expand description
Message send (or s) command
Implementations§
Source§impl Send
impl Send
Sourcepub fn new<'pd, N>(init_message: &Message<'pd, N>, graph_id: Id) -> Selfwhere
N: ArrayLength<Atom<'pd>>,
pub fn new<'pd, N>(init_message: &Message<'pd, N>, graph_id: Id) -> Selfwhere
N: ArrayLength<Atom<'pd>>,
Create a new message::Send
Sourcepub fn new_object<'pd, N>(
_init_message: &Message<'pd, N>,
_graph: &Graph,
) -> Objectwhere
N: ArrayLength<Atom<'pd>>,
pub fn new_object<'pd, N>(
_init_message: &Message<'pd, N>,
_graph: &Graph,
) -> Objectwhere
N: ArrayLength<Atom<'pd>>,
Create a new message send object
Sourcepub fn get_object_label(&self) -> &str
pub fn get_object_label(&self) -> &str
Get the label for this object
Sourcepub fn get_object_type() -> Type
pub fn get_object_type() -> Type
Get the type of this object
Sourcepub fn receive_message<'pd, N>(
&mut self,
context: &mut Context<'_>,
inlet_index: Index,
message: &Message<'pd, N>,
)where
N: ArrayLength<Atom<'pd>>,
pub fn receive_message<'pd, N>(
&mut self,
context: &mut Context<'_>,
inlet_index: Index,
message: &Message<'pd, N>,
)where
N: ArrayLength<Atom<'pd>>,
Receive a message to this send
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Send
impl RefUnwindSafe for Send
impl Send for Send
impl Sync for Send
impl Unpin for Send
impl UnwindSafe for Send
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