Struct pyo3::types::PySliceIndices
source · [−]pub struct PySliceIndices {
pub start: isize,
pub stop: isize,
pub step: isize,
pub slicelength: isize,
}
Expand description
Represents Python slice
indices.
Fields
start: isize
stop: isize
step: isize
slicelength: isize
Implementations
sourceimpl PySliceIndices
impl PySliceIndices
Trait Implementations
sourceimpl ToPyObject for PySliceIndices
impl ToPyObject for PySliceIndices
Auto Trait Implementations
impl RefUnwindSafe for PySliceIndices
impl Send for PySliceIndices
impl Sync for PySliceIndices
impl Unpin for PySliceIndices
impl UnwindSafe for PySliceIndices
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more