pub struct EnumTag<T, const MAX: usize>(/* private fields */);Implementations§
Trait Implementations§
Source§impl<T, const MAX: usize> InlineOutput for EnumTag<T, MAX>where
T: InlineOutput,
impl<T, const MAX: usize> InlineOutput for EnumTag<T, MAX>where
T: InlineOutput,
fn slice_to_output(slice: &[Self], output: &mut dyn Output)where
Self: Sized,
Source§impl<T, const MAX: usize> ListHashes for EnumTag<T, MAX>where
T: ListHashes,
impl<T, const MAX: usize> ListHashes for EnumTag<T, MAX>where
T: ListHashes,
fn list_hashes(&self, visitor: &mut impl FnMut(Hash))
fn topology_hash(&self) -> Hash
fn point_count(&self) -> usize
Source§impl<T, const MAX: usize> MaybeHasNiche for EnumTag<T, MAX>where
T: MaybeHasNiche<MnArray: MnArray<MaybeNiche: MaybeNiche>>,
impl<T, const MAX: usize> MaybeHasNiche for EnumTag<T, MAX>where
T: MaybeHasNiche<MnArray: MnArray<MaybeNiche: MaybeNiche>>,
Source§impl<T, const MAX: usize, __I: ParseInput> Parse<__I> for EnumTag<T, MAX>where
Self: ParseInline<__I>,
impl<T, const MAX: usize, __I: ParseInput> Parse<__I> for EnumTag<T, MAX>where
Self: ParseInline<__I>,
Source§impl<T: ParseInline<I> + UsizeTag, I: ParseInput, const MAX: usize> ParseInline<I> for EnumTag<T, MAX>
impl<T: ParseInline<I> + UsizeTag, I: ParseInput, const MAX: usize> ParseInline<I> for EnumTag<T, MAX>
fn parse_inline(input: &mut I) -> Result<Self>
fn parse_as_inline(input: I) -> Result<Self>
fn parse_vec(input: I) -> Result<Vec<Self>>
fn parse_vec_n(input: &mut I, n: usize) -> Result<Vec<Self>>
fn parse_array<const N: usize>(input: &mut I) -> Result<[Self; N]>
fn parse_generic_array<N: ArrayLength>( input: &mut I, ) -> Result<GenericArray<Self, N>>
Source§impl<T, const MAX: usize> Topological for EnumTag<T, MAX>where
T: Topological,
impl<T, const MAX: usize> Topological for EnumTag<T, MAX>where
T: Topological,
Auto Trait Implementations§
impl<T, const MAX: usize> Freeze for EnumTag<T, MAX>where
T: Freeze,
impl<T, const MAX: usize> RefUnwindSafe for EnumTag<T, MAX>where
T: RefUnwindSafe,
impl<T, const MAX: usize> Send for EnumTag<T, MAX>where
T: Send,
impl<T, const MAX: usize> Sync for EnumTag<T, MAX>where
T: Sync,
impl<T, const MAX: usize> Unpin for EnumTag<T, MAX>where
T: Unpin,
impl<T, const MAX: usize> UnsafeUnpin for EnumTag<T, MAX>where
T: UnsafeUnpin,
impl<T, const MAX: usize> UnwindSafe for EnumTag<T, MAX>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> AsAny for T
impl<T> AsAny 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