pub struct NodeEvents {
pub info: Option<Box<dyn FnMut(&NodeInfo<'_>) + Send>>,
pub param: Option<Box<dyn FnMut(u32, ParamType, u32, u32, &RawPodOwned) + Send>>,
}Expand description
Node events that can be subscribed to.
Fields§
§info: Option<Box<dyn FnMut(&NodeInfo<'_>) + Send>>Node information became available, or changed.
param: Option<Box<dyn FnMut(u32, ParamType, u32, u32, &RawPodOwned) + Send>>Node permissions, notified due to a Node::subscribe_params or Node::enum_params call.
Trait Implementations§
Source§impl Default for NodeEvents
impl Default for NodeEvents
Source§fn default() -> NodeEvents
fn default() -> NodeEvents
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NodeEvents
impl !RefUnwindSafe for NodeEvents
impl Send for NodeEvents
impl !Sync for NodeEvents
impl Unpin for NodeEvents
impl !UnwindSafe for NodeEvents
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