pub struct Composition<S: Semiring>(pub S);Expand description
Linearの合成
Tuple Fields§
§0: STrait Implementations§
Source§impl<T: Copy, S: Semiring<Element = T>> BinaryOp for Composition<S>
impl<T: Copy, S: Semiring<Element = T>> BinaryOp for Composition<S>
Source§fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
fn op_assign_r(&self, a: &mut Self::Element, b: Self::Element)
二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§impl<S: Clone + Semiring> Clone for Composition<S>
impl<S: Clone + Semiring> Clone for Composition<S>
Source§fn clone(&self) -> Composition<S>
fn clone(&self) -> Composition<S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S: Default + Semiring> Default for Composition<S>
impl<S: Default + Semiring> Default for Composition<S>
Source§fn default() -> Composition<S>
fn default() -> Composition<S>
Returns the “default value” for a type. Read more
impl<T: Copy, S: Semiring<Element = T>> Associative for Composition<S>
impl<S: Copy + Semiring> Copy for Composition<S>
impl<S: Eq + Semiring> Eq for Composition<S>
impl<S: Semiring> StructuralPartialEq for Composition<S>
Auto Trait Implementations§
impl<S> Freeze for Composition<S>where
S: Freeze,
impl<S> RefUnwindSafe for Composition<S>where
S: RefUnwindSafe,
impl<S> Send for Composition<S>where
S: Send,
impl<S> Sync for Composition<S>where
S: Sync,
impl<S> Unpin for Composition<S>where
S: Unpin,
impl<S> UnwindSafe for Composition<S>where
S: UnwindSafe,
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