pub struct Here;Expand description
Index representing the first element.
Trait Implementations§
Source§impl<Target, Tail> ConsHas<Target, Here> for (Target, Tail)
impl<Target, Tail> ConsHas<Target, Here> for (Target, Tail)
Source§fn cons_pluck(self) -> (Target, Self::Plucked)
fn cons_pluck(self) -> (Target, Self::Plucked)
Deconstructs the cons tuple into a plucked element and the rest of the tuple
Source§fn cons_get_ref(&self) -> &Target
fn cons_get_ref(&self) -> &Target
Gets a reference to the element in this cons tuple
Source§fn cons_get_mut(&mut self) -> &mut Target
fn cons_get_mut(&mut self) -> &mut Target
Gets a mutable reference to the element in this cons tuple
impl Index for Here
Auto Trait Implementations§
impl Freeze for Here
impl RefUnwindSafe for Here
impl Send for Here
impl Sync for Here
impl Unpin for Here
impl UnwindSafe for Here
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