pub struct Last<T>(/* private fields */);Expand description
最後に出現するSomeを返す演算。
Implementations§
Trait Implementations§
Source§impl<T> BinaryOp for Last<T>
impl<T> BinaryOp for Last<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: Ord> Ord for Last<T>
impl<T: Ord> Ord for Last<T>
Source§impl<T: PartialOrd> PartialOrd for Last<T>
impl<T: PartialOrd> PartialOrd for Last<T>
impl<T> Associative for Last<T>
impl<T: Copy> Copy for Last<T>
impl<T: Eq> Eq for Last<T>
impl<T> Idempotence for Last<T>
impl<T> StructuralPartialEq for Last<T>
Auto Trait Implementations§
impl<T> Freeze for Last<T>
impl<T> RefUnwindSafe for Last<T>where
T: RefUnwindSafe,
impl<T> Send for Last<T>where
T: Send,
impl<T> Sync for Last<T>where
T: Sync,
impl<T> Unpin for Last<T>where
T: Unpin,
impl<T> UnwindSafe for Last<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