Struct raui_core::signals::SignalSender [−][src]
pub struct SignalSender { /* fields omitted */ }Expand description
Used to send Signals from a component change context
Implementations
impl SignalSender[src]
impl SignalSender[src]pub fn write<T>(&self, message: T) -> bool where
T: 'static + MessageData, [src]
pub fn write<T>(&self, message: T) -> bool where
T: 'static + MessageData, [src]Send a message
Returns false if the message could not successfully be sent
pub fn write_raw(&self, message: Message) -> bool[src]
pub fn write_raw(&self, message: Message) -> bool[src]Send a raw Message
Returns false if the message could not be successfully sent
pub fn write_raw_all<I>(&self, messages: I) where
I: IntoIterator<Item = Message>, [src]
pub fn write_raw_all<I>(&self, messages: I) where
I: IntoIterator<Item = Message>, [src]Sends a set of raw Messages from an iterator
Trait Implementations
impl Clone for SignalSender[src]
impl Clone for SignalSender[src]fn clone(&self) -> SignalSender[src]
fn clone(&self) -> SignalSender[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl !RefUnwindSafe for SignalSender
impl Send for SignalSender
impl !Sync for SignalSender
impl Unpin for SignalSender
impl !UnwindSafe for SignalSender
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more