pub struct IndexArg {
pub axis: usize,
pub index: usize,
}
Expand description
索引变换参数。
Fields§
§axis: usize
索引的轴。
index: usize
选择指定轴的第几个元素。
Trait Implementations§
impl Eq for IndexArg
impl StructuralPartialEq for IndexArg
Auto Trait Implementations§
impl Freeze for IndexArg
impl RefUnwindSafe for IndexArg
impl Send for IndexArg
impl Sync for IndexArg
impl Unpin for IndexArg
impl UnwindSafe for IndexArg
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