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<W: Clone> Clone for SingularSeq<W>
 
impl<W: Clone> Clone for SingularSeq<W>
Source§fn clone(&self) -> SingularSeq<W>
 
fn clone(&self) -> SingularSeq<W>
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<W: Debug> Debug for SingularSeq<W>
 
impl<W: Debug> Debug for SingularSeq<W>
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