Skip to main content

MmaFragment

Enum MmaFragment 

Source
pub enum MmaFragment<N: Numeric> {
    Lhs(Array<Vector<N, NL>>),
    Rhs(Array<Vector<N, NR>>),
    Acc(Array<Vector<N, NA>>),
}

Variants§

§

Lhs(Array<Vector<N, NL>>)

§

Rhs(Array<Vector<N, NR>>)

§

Acc(Array<Vector<N, NA>>)

Implementations§

Source§

impl<N: Numeric> MmaFragment<N>

Source

pub fn new_Lhs(_0: Array<Vector<N, NL>>) -> Self

Source

pub fn __expand_new_Lhs( _: &mut Scope, _0: <Array<Vector<N, NL>> as CubeType>::ExpandType, ) -> MmaFragmentExpand<N>

Source

pub fn new_Rhs(_0: Array<Vector<N, NR>>) -> Self

Source

pub fn __expand_new_Rhs( _: &mut Scope, _0: <Array<Vector<N, NR>> as CubeType>::ExpandType, ) -> MmaFragmentExpand<N>

Source

pub fn new_Acc(_0: Array<Vector<N, NA>>) -> Self

Source

pub fn __expand_new_Acc( _: &mut Scope, _0: <Array<Vector<N, NA>> as CubeType>::ExpandType, ) -> MmaFragmentExpand<N>

Trait Implementations§

Source§

impl<N: Numeric> CubeDebug for MmaFragment<N>

Source§

fn set_debug_name(&self, scope: &mut Scope, name: &'static str)

Set the debug name of this type’s expansion. Should do nothing for types that don’t appear at runtime
Source§

impl<N: Numeric> CubeType for MmaFragment<N>

Auto Trait Implementations§

§

impl<N> Freeze for MmaFragment<N>

§

impl<N> RefUnwindSafe for MmaFragment<N>
where N: RefUnwindSafe,

§

impl<N> Send for MmaFragment<N>

§

impl<N> Sync for MmaFragment<N>

§

impl<N> Unpin for MmaFragment<N>
where N: Unpin,

§

impl<N> UnsafeUnpin for MmaFragment<N>

§

impl<N> UnwindSafe for MmaFragment<N>
where N: UnwindSafe,

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> IntoComptime for T

Source§

fn comptime(self) -> Self

Source§

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

Source§

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>,

Source§

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.