pub struct FlowSeq<T>(pub T);
Expand description
Force a sequence to be emitted in flow style: [a, b, c]
.
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<'de, T: Deserialize<'de>> Deserialize<'de> for FlowSeq<T>
impl<'de, T: Deserialize<'de>> Deserialize<'de> for FlowSeq<T>
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl<T: Eq> Eq for FlowSeq<T>
impl<T> StructuralPartialEq for FlowSeq<T>
Auto Trait Implementations§
impl<T> Freeze for FlowSeq<T>where
T: Freeze,
impl<T> RefUnwindSafe for FlowSeq<T>where
T: RefUnwindSafe,
impl<T> Send for FlowSeq<T>where
T: Send,
impl<T> Sync for FlowSeq<T>where
T: Sync,
impl<T> Unpin for FlowSeq<T>where
T: Unpin,
impl<T> UnwindSafe for FlowSeq<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