pub struct SliceConfig {
pub starts: SliceInput,
pub ends: SliceInput,
pub axes: Option<SliceInput>,
pub steps: Option<SliceInput>,
}Expand description
Configuration for the Slice operation.
Fields§
§starts: SliceInput§ends: SliceInput§axes: Option<SliceInput>§steps: Option<SliceInput>Implementations§
Source§impl SliceConfig
impl SliceConfig
Sourcepub fn new(
starts: SliceInput,
ends: SliceInput,
axes: Option<SliceInput>,
steps: Option<SliceInput>,
) -> Self
pub fn new( starts: SliceInput, ends: SliceInput, axes: Option<SliceInput>, steps: Option<SliceInput>, ) -> Self
Constructs a new SliceConfig.
Trait Implementations§
Source§impl Clone for SliceConfig
impl Clone for SliceConfig
Auto Trait Implementations§
impl Freeze for SliceConfig
impl RefUnwindSafe for SliceConfig
impl Send for SliceConfig
impl Sync for SliceConfig
impl Unpin for SliceConfig
impl UnsafeUnpin for SliceConfig
impl UnwindSafe for SliceConfig
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