#[repr(C)]pub struct PySliceObject {
pub ob_refcnt: Py_ssize_t,
pub ob_type: *mut PyTypeObject,
pub start: *mut PyObject,
pub stop: *mut PyObject,
pub step: *mut PyObject,
}
Fields§
§ob_refcnt: Py_ssize_t
§ob_type: *mut PyTypeObject
§start: *mut PyObject
§stop: *mut PyObject
§step: *mut PyObject
Trait Implementations§
Source§impl Clone for PySliceObject
impl Clone for PySliceObject
Source§fn clone(&self) -> PySliceObject
fn clone(&self) -> PySliceObject
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PySliceObject
Auto Trait Implementations§
impl Freeze for PySliceObject
impl RefUnwindSafe for PySliceObject
impl !Send for PySliceObject
impl !Sync for PySliceObject
impl Unpin for PySliceObject
impl UnwindSafe for PySliceObject
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