pub struct Composition<T>(/* private fields */);Expand description
Implementations§
Source§impl<T> Composition<T>
impl<T> Composition<T>
Sourcepub fn new() -> Self
pub fn new() -> Self
Composition<T>を返す。
Trait Implementations§
Source§impl<T: Copy + Ord + Add<Output = T>> BinaryOp for Composition<T>
impl<T: Copy + Ord + Add<Output = T>> BinaryOp for Composition<T>
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<T: Clone> Clone for Composition<T>
impl<T: Clone> Clone for Composition<T>
Source§fn clone(&self) -> Composition<T>
fn clone(&self) -> Composition<T>
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<T: Debug> Debug for Composition<T>
impl<T: Debug> Debug for Composition<T>
Source§impl<T: Default> Default for Composition<T>
impl<T: Default> Default for Composition<T>
Source§fn default() -> Composition<T>
fn default() -> Composition<T>
Returns the “default value” for a type. Read more
Source§impl<T: Hash> Hash for Composition<T>
impl<T: Hash> Hash for Composition<T>
Source§impl<T: PartialEq> PartialEq for Composition<T>
impl<T: PartialEq> PartialEq for Composition<T>
Source§impl<T: Copy + Ord + Add<Output = T>> Set for Composition<T>
impl<T: Copy + Ord + Add<Output = T>> Set for Composition<T>
Source§type Element = MaxPartialSum<T>
type Element = MaxPartialSum<T>
集合の元
impl<T: Copy + Ord + Add<Output = T>> Associative for Composition<T>
impl<T: Copy> Copy for Composition<T>
impl<T: Eq> Eq for Composition<T>
impl<T> StructuralPartialEq for Composition<T>
Auto Trait Implementations§
impl<T> Freeze for Composition<T>
impl<T> RefUnwindSafe for Composition<T>where
T: RefUnwindSafe,
impl<T> Send for Composition<T>where
T: Send,
impl<T> Sync for Composition<T>where
T: Sync,
impl<T> Unpin for Composition<T>where
T: Unpin,
impl<T> UnwindSafe for Composition<T>where
T: 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