pub struct Tag<T>(pub T);
Expand description
A marker for BitDecode
implementors that require a tag.
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<Tag, Ctx, K, V> BitDecode<Ctx, Tag<Tag>> for BTreeMap<K, V>
Available on crate feature alloc
only.
impl<Tag, Ctx, K, V> BitDecode<Ctx, Tag<Tag>> for BTreeMap<K, V>
Available on crate feature
alloc
only.Source§impl<Tag, Ctx, T> BitDecode<Ctx, Tag<Tag>> for BTreeSet<T>
Available on crate feature alloc
only.
impl<Tag, Ctx, T> BitDecode<Ctx, Tag<Tag>> for BTreeSet<T>
Available on crate feature
alloc
only.Source§impl<Tag, Ctx, T> BitDecode<Ctx, Tag<Tag>> for BinaryHeap<T>
Available on crate feature alloc
only.
impl<Tag, Ctx, T> BitDecode<Ctx, Tag<Tag>> for BinaryHeap<T>
Available on crate feature
alloc
only.Source§impl<Tag, Ctx, T> BitDecode<Ctx, Tag<Tag>> for Box<[T]>
Available on crate feature alloc
only.
impl<Tag, Ctx, T> BitDecode<Ctx, Tag<Tag>> for Box<[T]>
Available on crate feature
alloc
only.Source§impl<Tag, Ctx, K, V, H> BitDecode<Ctx, Tag<Tag>> for HashMap<K, V, H>
Available on crate feature std
only.
impl<Tag, Ctx, K, V, H> BitDecode<Ctx, Tag<Tag>> for HashMap<K, V, H>
Available on crate feature
std
only.Source§impl<Tag, Ctx, T, H> BitDecode<Ctx, Tag<Tag>> for HashSet<T, H>
Available on crate feature std
only.
impl<Tag, Ctx, T, H> BitDecode<Ctx, Tag<Tag>> for HashSet<T, H>
Available on crate feature
std
only.Source§impl<Tag, Ctx, T> BitDecode<Ctx, Tag<Tag>> for LinkedList<T>
Available on crate feature alloc
only.
impl<Tag, Ctx, T> BitDecode<Ctx, Tag<Tag>> for LinkedList<T>
Available on crate feature
alloc
only.Auto Trait Implementations§
impl<T> Freeze for Tag<T>where
T: Freeze,
impl<T> RefUnwindSafe for Tag<T>where
T: RefUnwindSafe,
impl<T> Send for Tag<T>where
T: Send,
impl<T> Sync for Tag<T>where
T: Sync,
impl<T> Unpin for Tag<T>where
T: Unpin,
impl<T> UnwindSafe for Tag<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