pub struct NoEvent {}
Expand description
Use when there is no event listening to do
Implementations§
Trait Implementations§
Source§impl CubeType for NoEvent
impl CubeType for NoEvent
type ExpandType = NoEventExpand
Source§fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
Source§impl<S: StageConfig> StageEventListener<S> for NoEvent
impl<S: StageConfig> StageEventListener<S> for NoEvent
fn on_event(_this: &mut Self, _event: StageEvent, _config: S)
fn __expand_on_event( scope: &mut Scope, _this: <Self as CubeType>::ExpandType, _event: StageEvent, _config: S, ) -> <() as CubeType>::ExpandType
Auto Trait Implementations§
impl Freeze for NoEvent
impl RefUnwindSafe for NoEvent
impl Send for NoEvent
impl Sync for NoEvent
impl Unpin for NoEvent
impl UnwindSafe for NoEvent
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