pub struct EnumTag<T, const MAX: usize>(/* private fields */);Implementations§
Trait Implementations§
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>
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,
fn accept_points(&self, visitor: &mut impl PointVisitor)
fn topology_hash(&self) -> Hash
fn topology(&self) -> TopoVec
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> UnwindSafe for EnumTag<T, MAX>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> AsAny for T
impl<T> AsAny for T
fn any_ref(&self) -> &(dyn Any + 'static)where
T: 'static,
fn any_mut(&mut self) -> &mut (dyn Any + 'static)where
T: 'static,
fn any_box(self: Box<T>) -> Box<dyn Any>where
T: 'static,
fn any_arc(self: Arc<T>) -> Arc<dyn Any>where
T: 'static,
fn any_arc_sync(self: Arc<T>) -> Arc<dyn Any + Sync + Send>
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