use crate::*;
impl ToOutput for () {
fn to_output(&self, _: &mut impl Output) {}
}
impl InlineOutput for () {}
impl<I: ParseInput> Parse<I> for () {
fn parse(input: I) -> crate::Result<Self> {
ParseInline::parse_as_inline(input)
}
}
impl<I: ParseInput> ParseInline<I> for () {
fn parse_inline(_: &mut I) -> crate::Result<Self> {
Ok(())
}
}
impl ListHashes for () {}
impl Topological for () {}
impl Tagged for () {}
impl Size for () {
const SIZE: usize = 0;
type Size = typenum::U0;
}
impl MaybeHasNiche for () {
type MnArray = NoNiche<ZeroNoNiche<<Self as Size>::Size>>;
}