Skip to main content

IINotificationReceiverMethods

Trait IINotificationReceiverMethods 

Source
pub trait IINotificationReceiverMethods: IINotificationReceiver {
    // Provided method
    fn on_notify(
        self,
        origin: impl Into<Playable>,
        notification: impl Into<INotification>,
        context: impl Into<Object>,
    ) { ... }
}

Provided Methods§

Source

fn on_notify( self, origin: impl Into<Playable>, notification: impl Into<INotification>, context: impl Into<Object>, )

OnNotify(crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::inotification::INotification, crate::system::object::Object) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IINotificationReceiver> IINotificationReceiverMethods for __T

Available on crate feature unity_engine-playables-inotificationreceiver only.