pub struct PyDelta(/* private fields */);
Expand description
Bindings for datetime.timedelta
.
Values of this type are accessed via PyO3’s smart pointers, e.g. as
Py<PyDelta>
or Bound<'py, PyDelta>
.
Implementations§
Trait Implementations§
Source§impl PyTypeCheck for PyDelta
Available on Py_LIMITED_API
only.
impl PyTypeCheck for PyDelta
Available on
Py_LIMITED_API
only.impl DerefToPyAny for PyDelta
Auto Trait Implementations§
impl !Freeze for PyDelta
impl !RefUnwindSafe for PyDelta
impl !Send for PyDelta
impl !Sync for PyDelta
impl Unpin for PyDelta
impl UnwindSafe for PyDelta
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