Struct mdarray::index::Outer

source ·
pub struct Outer;
Expand description

Outer axis type, for the outermost dimension.

Trait Implementations§

source§

impl Axis for Outer

§

type Dim<S: Shape> = <<S as Shape>::Reverse as Shape>::Head

Corresponding dimension.
§

type Other<S: Shape> = <<<S as Shape>::Reverse as Shape>::Tail as Shape>::Reverse

Shape for the other dimensions.
§

type Insert<D: Dim, S: Shape> = <<Inner<0> as Axis>::Insert<D, <S as Shape>::Reverse> as Shape>::Reverse

Insert the dimension into the shape.
§

type Replace<D: Dim, S: Shape> = <<Inner<0> as Axis>::Replace<D, <S as Shape>::Reverse> as Shape>::Reverse

Replace the dimension in the shape.
§

type Keep<S: Shape, L: Layout> = <S as Shape>::Layout<<L as Layout>::Uniform, Flat>

Layout when removing the other dimensions.
§

type Remove<S: Shape, L: Layout> = <<S as Shape>::Tail as Shape>::Layout<<L as Layout>::Uniform, L>

Layout with the dimension removed.
§

type Resize<S: Shape, L: Layout> = L

Layout when resizing the dimension.

Auto Trait Implementations§

§

impl Freeze for Outer

§

impl RefUnwindSafe for Outer

§

impl Send for Outer

§

impl Sync for Outer

§

impl Unpin for Outer

§

impl UnwindSafe for Outer

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoCloned<T> for T

source§

fn clone_to(self, target: &mut T)

Moves an existing object or clones from a reference to the target object.
source§

fn into_cloned(self) -> T

Returns an existing object or a new clone from a reference.
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.