pub struct Tag<const I: usize>;Available on crate feature
_test only.Expand description
Test layer tags to distinguish different TestLayer. Different I will result in different
types.
Trait Implementations§
impl<const I: usize> TestLayerTag for Tag<I>
Auto Trait Implementations§
impl<const I: usize> Freeze for Tag<I>
impl<const I: usize> RefUnwindSafe for Tag<I>
impl<const I: usize> Send for Tag<I>
impl<const I: usize> Sync for Tag<I>
impl<const I: usize> Unpin for Tag<I>
impl<const I: usize> UnwindSafe for Tag<I>
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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