pub struct Last<T>(pub Option<T>);
Expand description
最後に出現するSome
を返す演算。
Tuple Fields§
§0: Option<T>
Trait Implementations§
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> Set for Last<T>
impl<T> StructuralPartialEq for Last<T>
Auto Trait Implementations§
impl<T> Freeze for Last<T>where
T: Freeze,
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