PrecomputeSizeWithContext

Trait PrecomputeSizeWithContext 

Source
pub trait PrecomputeSizeWithContext<C> {
    // Required method
    fn contextual_pre_compute_size(
        &self,
        context: &C,
        options: &Options,
        sizes: &mut Vec<Size>,
    ) -> Size;
}

Required Methods§

Source

fn contextual_pre_compute_size( &self, context: &C, options: &Options, sizes: &mut Vec<Size>, ) -> Size

Implementations on Foreign Types§

Source§

impl<'a, T, C> PrecomputeSizeWithContext<C> for &'a T

Source§

fn contextual_pre_compute_size( &self, context: &C, options: &Options, sizes: &mut Vec<Size>, ) -> Size

Source§

impl<T, C> PrecomputeSizeWithContext<C> for [T]

Source§

fn contextual_pre_compute_size( &self, context: &C, options: &Options, sizes: &mut Vec<Size>, ) -> Size

Source§

impl<T, C> PrecomputeSizeWithContext<C> for HashSet<T>

Source§

fn contextual_pre_compute_size( &self, context: &C, options: &Options, sizes: &mut Vec<Size>, ) -> Size

Source§

impl<T, C> PrecomputeSizeWithContext<C> for Stripped<T>

Source§

fn contextual_pre_compute_size( &self, context: &C, options: &Options, sizes: &mut Vec<Size>, ) -> Size

Source§

impl<T, M, C> PrecomputeSizeWithContext<C> for Meta<T, M>

Source§

fn contextual_pre_compute_size( &self, context: &C, options: &Options, sizes: &mut Vec<Size>, ) -> Size

Implementors§

Source§

impl<'a, T, B, N> PrecomputeSizeWithContext<N> for ssi_json_ld::object::EntryValueRef<'a, T, B>
where N: Vocabulary<Iri = T, BlankId = B>,

Source§

impl<'a, T, B, N> PrecomputeSizeWithContext<N> for ssi_json_ld::object::IndexedEntryValueRef<'a, T, B>
where N: Vocabulary<Iri = T, BlankId = B>,

Source§

impl<'a, T, B, N> PrecomputeSizeWithContext<N> for ssi_json_ld::object::node::EntryValueRef<'a, T, B>
where N: Vocabulary<Iri = T, BlankId = B>,

Source§

impl<'a, T, B, N> PrecomputeSizeWithContext<N> for ssi_json_ld::object::node::IndexedEntryValueRef<'a, T, B>
where N: Vocabulary<Iri = T, BlankId = B>,

Source§

impl<'a, T, N> PrecomputeSizeWithContext<N> for EntryRef<'a, T>
where N: IriVocabulary<Iri = T>,

Source§

impl<'a, T, N> PrecomputeSizeWithContext<N> for TypeRef<'a, T>
where N: IriVocabulary<Iri = T>,

Source§

impl<T, B, N> PrecomputeSizeWithContext<N> for Id<T, B>
where N: Vocabulary<Iri = T, BlankId = B>,

Source§

impl<T, B, N> PrecomputeSizeWithContext<N> for ReverseProperties<T, B>
where N: Vocabulary<Iri = T, BlankId = B>,

Source§

impl<T, B, N> PrecomputeSizeWithContext<N> for ExpandedDocument<T, B>
where N: Vocabulary<Iri = T, BlankId = B>,

Source§

impl<T, B, N> PrecomputeSizeWithContext<N> for Indexed<Object<T, B>>
where N: Vocabulary<Iri = T, BlankId = B>,

Source§

impl<T, B, N> PrecomputeSizeWithContext<N> for Indexed<Node<T, B>>
where N: Vocabulary<Iri = T, BlankId = B>,

Source§

impl<T, B, N> PrecomputeSizeWithContext<N> for Node<T, B>
where N: Vocabulary<Iri = T, BlankId = B>,