pub struct SignalTree { /* private fields */ }
Implementations§
Source§impl SignalTree
impl SignalTree
pub fn new() -> Self
pub fn add_child(&self, child: Self)
pub fn is_notified(&self) -> bool
pub fn notify(&self)
pub fn remove_from_parent(&self)
pub async fn wait(&self)
pub async fn wait_owned(self)
Trait Implementations§
Source§impl Clone for SignalTree
impl Clone for SignalTree
Source§fn clone(&self) -> SignalTree
fn clone(&self) -> SignalTree
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SignalTree
impl !RefUnwindSafe for SignalTree
impl Send for SignalTree
impl Sync for SignalTree
impl Unpin for SignalTree
impl !UnwindSafe for SignalTree
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