pub struct ContravariantIndex;
Expand description
Type representing a contravariant (upper) tensor index.
Trait Implementations§
Source§impl OtherIndex for ContravariantIndex
impl OtherIndex for ContravariantIndex
type Output = CovariantIndex
Source§impl TensorIndex for ContravariantIndex
impl TensorIndex for ContravariantIndex
fn index_type() -> IndexType
Auto Trait Implementations§
impl Freeze for ContravariantIndex
impl RefUnwindSafe for ContravariantIndex
impl Send for ContravariantIndex
impl Sync for ContravariantIndex
impl Unpin for ContravariantIndex
impl UnwindSafe for ContravariantIndex
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