pub struct SingularSeq<W>(pub W);Expand description
A singular converts a Writable into a single-element WritableSeq
Its implementation just writes the tuple value.
Tuple Fields§
§0: WTrait Implementations§
Source§impl<O, W> WritableSeq<O> for SingularSeq<W>
impl<O, W> WritableSeq<O> for SingularSeq<W>
Auto Trait Implementations§
impl<W> Freeze for SingularSeq<W>where
W: Freeze,
impl<W> RefUnwindSafe for SingularSeq<W>where
W: RefUnwindSafe,
impl<W> Send for SingularSeq<W>where
W: Send,
impl<W> Sync for SingularSeq<W>where
W: Sync,
impl<W> Unpin for SingularSeq<W>where
W: Unpin,
impl<W> UnwindSafe for SingularSeq<W>where
W: 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