pub struct PythonTimeEventCallback { /* private fields */ }Expand description
Python callback for time events.
Implementations§
Source§impl PythonTimeEventCallback
impl PythonTimeEventCallback
Sourcepub const fn new(callback: Py<PyAny>, arg: PythonTimeEventCallbackArg) -> Self
pub const fn new(callback: Py<PyAny>, arg: PythonTimeEventCallbackArg) -> Self
Creates a new PythonTimeEventCallback instance.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PythonTimeEventCallback
impl Freeze for PythonTimeEventCallback
impl Send for PythonTimeEventCallback
impl Sync for PythonTimeEventCallback
impl Unpin for PythonTimeEventCallback
impl UnsafeUnpin for PythonTimeEventCallback
impl UnwindSafe for PythonTimeEventCallback
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