Skip to main content

SmExtra

Type Alias SmExtra 

Source
pub type SmExtra<M> = SmExtra<M>;

Aliased Type§

pub enum SmExtra<M> {}

Trait Implementations§

Source§

impl<M> ByteOrd for SmExtra<M>

Source§

fn bytes_cmp(&self, _: &Self) -> Ordering

Source§

impl<M> InlineOutput for SmExtra<M>

Source§

fn slice_to_output(slice: &[Self], output: &mut impl Output)
where Self: Sized,

Source§

impl<M> ListHashes for SmExtra<M>

Source§

fn list_hashes(&self, f: &mut impl FnMut(Hash))

Source§

fn topology_hash(&self) -> Hash

Source§

fn point_count(&self) -> usize

Source§

impl<M: StaticMap<E, Mapped: 'static + Clone>, E: 'static + Clone> MapExtra<E> for SmExtra<M>

Source§

type Mapped = <M as StaticMap<E>>::Mapped

Source§

fn map_extra(&self, e: E) -> Self::Mapped

Source§

impl<M> MaybeHasNiche for SmExtra<M>

Source§

type MnArray = NoNiche<ZeroNoNiche<<SmExtra<M> as Size>::Size>>

Should implement [MnArray]. Not constraint explicitly, because that breaks things.
Source§

impl<M, I: ParseInput> Parse<I> for SmExtra<M>

Source§

fn parse(input: I) -> Result<Self>

Parse consuming the whole stream.
Source§

impl<M, I: ParseInput> ParseInline<I> for SmExtra<M>

Source§

fn parse_inline(_: &mut I) -> Result<Self>

Parse without consuming the whole stream. Errors on unexpected EOF.
Source§

fn parse_as_inline(input: I) -> Result<Self>

For implementing Parse::parse.
Source§

fn parse_vec(input: I) -> Result<Vec<Self>>

Parse a Vec of Self. Customisable for optimisations.
Source§

fn parse_vec_n(input: &mut I, n: usize) -> Result<Vec<Self>>

Parse a Vec of Self of length n. Customisable for optimisations.
Source§

fn parse_array<const N: usize>(input: &mut I) -> Result<[Self; N]>

Parse an array of Self. Customisable for optimisations.
Source§

fn parse_generic_array<N: ArrayLength>( input: &mut I, ) -> Result<GenericArray<Self, N>>

Parse a GenericArray of Self. Customisable for optimisations.
Source§

impl<M> Size for SmExtra<M>

Source§

impl<M: StaticMap<T>, T> StaticMap<T> for SmExtra<M>

Source§

type Mapped = <M as StaticMap<T>>::Mapped

Source§

fn static_map(x: T) -> Self::Mapped

Source§

impl<M> Tagged for SmExtra<M>

Source§

const TAGS: Tags = _

Source§

const HASH: Hash = _

Source§

impl<M> ToOutput for SmExtra<M>

Source§

fn to_output(&self, _: &mut impl Output)

Source§

fn data_hash(&self) -> Hash

Source§

fn mangle_hash(&self) -> Hash

Source§

fn output<T: Output + Default>(&self) -> T

Source§

fn vec(&self) -> Vec<u8>

Source§

impl<M> Topological for SmExtra<M>

Source§

fn traverse(&self, visitor: &mut impl PointVisitor)

Source§

fn topology(&self) -> TopoVec