pub type SmExtra<M> = SmExtra<M>;Aliased Type§
pub enum SmExtra<M> {}Trait Implementations§
Source§impl<M> FromSized for SmExtra<M>
impl<M> FromSized for SmExtra<M>
fn from_sized(data: &GenericArray<u8, Self::Size>) -> Self
Source§impl<M> InlineOutput for SmExtra<M>
impl<M> InlineOutput for SmExtra<M>
Source§impl<M> ListHashes for SmExtra<M>
impl<M> ListHashes for SmExtra<M>
Source§fn list_hashes(&self, f: &mut (impl ?Sized + FnMut(Hash)))
fn list_hashes(&self, f: &mut (impl ?Sized + FnMut(Hash)))
[
Hash]-only part of Topological::traverse.Source§fn topology_hash(&self) -> Hash
fn topology_hash(&self) -> Hash
[
Hash] of all [Hash]es the object refers to other objects by.Source§fn point_count(&self) -> usize
fn point_count(&self) -> usize
How many others this object refers to.
Source§impl<M> MaybeHasNiche for SmExtra<M>
impl<M> MaybeHasNiche for SmExtra<M>
impl<M> Monostate for SmExtra<M>
Source§impl<M, I: ParseInput> Parse<I> for SmExtra<M>
impl<M, I: ParseInput> Parse<I> for SmExtra<M>
Source§impl<M, I: ParseInput> ParseInline<I> for SmExtra<M>
impl<M, I: ParseInput> ParseInline<I> for SmExtra<M>
Source§fn parse_inline(_: &mut I) -> Result<Self>
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>
fn parse_as_inline(input: I) -> Result<Self>
For implementing
Parse::parse.Source§fn parse_vec(input: I) -> Result<Vec<Self>>
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>>
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]>
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>>
fn parse_generic_array<N: ArrayLength>( input: &mut I, ) -> Result<GenericArray<Self, N>>
Parse a
GenericArray of Self. Customisable for optimisations.Source§impl<M> ToOutput for SmExtra<M>
impl<M> ToOutput for SmExtra<M>
Source§fn to_output(&self, _: &mut (impl ?Sized + Output))
fn to_output(&self, _: &mut (impl ?Sized + Output))
Provide object’s byte representation to an
Output.Source§fn mangle_hash(&self) -> Hash
fn mangle_hash(&self) -> Hash
“Mangle hash” of the object. This is used to introduce runtime distinction between
data-identical objects similarly to compile-time
Tagged::HASH.Source§fn output<T: FromOutput<Output: Default>>(&self) -> T
fn output<T: FromOutput<Output: Default>>(&self) -> T
Source§impl<M> Topological for SmExtra<M>
impl<M> Topological for SmExtra<M>
Source§fn traverse(&self, visitor: &mut (impl ?Sized + PointVisitor))
fn traverse(&self, visitor: &mut (impl ?Sized + PointVisitor))
List what objects this one refers to. Read more
Source§fn byte_node(&self) -> ByteNodewhere
Self: ToOutput,
fn byte_node(&self) -> ByteNodewhere
Self: ToOutput,
Useful in
Resolve::resolve and FetchBytes::fetch_bytes.Source§fn to_resolve(&self) -> Arc<dyn Resolve> ⓘ
fn to_resolve(&self) -> Arc<dyn Resolve> ⓘ
Reconstruct a
Resolve usable for Parse::parseing this object based on references.