pub enum NoCustomExtension {}
Trait Implementations§
Source§impl Clone for NoCustomExtension
impl Clone for NoCustomExtension
Source§fn clone(&self) -> NoCustomExtension
fn clone(&self) -> NoCustomExtension
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl CustomExtension for NoCustomExtension
impl CustomExtension for NoCustomExtension
const PAYLOAD_PREFIX: u8 = 91u8
type CustomValueKind = NoCustomValueKind
type CustomTraversal = NoCustomTraversal
type CustomSchema = NoCustomSchema
Source§fn custom_value_kind_matches_type_kind(
_: &SchemaV1<<NoCustomExtension as CustomExtension>::CustomSchema>,
_: <NoCustomExtension as CustomExtension>::CustomValueKind,
_: &TypeKind<<<NoCustomExtension as CustomExtension>::CustomSchema as CustomSchema>::CustomLocalTypeKind, LocalTypeId>,
) -> bool
fn custom_value_kind_matches_type_kind( _: &SchemaV1<<NoCustomExtension as CustomExtension>::CustomSchema>, _: <NoCustomExtension as CustomExtension>::CustomValueKind, _: &TypeKind<<<NoCustomExtension as CustomExtension>::CustomSchema as CustomSchema>::CustomLocalTypeKind, LocalTypeId>, ) -> bool
Used in the typed traverser Read more
Source§fn custom_type_kind_matches_non_custom_value_kind(
_: &SchemaV1<<NoCustomExtension as CustomExtension>::CustomSchema>,
_: &<<NoCustomExtension as CustomExtension>::CustomSchema as CustomSchema>::CustomLocalTypeKind,
_: ValueKind<<NoCustomExtension as CustomExtension>::CustomValueKind>,
) -> bool
fn custom_type_kind_matches_non_custom_value_kind( _: &SchemaV1<<NoCustomExtension as CustomExtension>::CustomSchema>, _: &<<NoCustomExtension as CustomExtension>::CustomSchema as CustomSchema>::CustomLocalTypeKind, _: ValueKind<<NoCustomExtension as CustomExtension>::CustomValueKind>, ) -> bool
Used in the typed traverser Read more
Source§impl Debug for NoCustomExtension
impl Debug for NoCustomExtension
Source§impl FormattableCustomExtension for NoCustomExtension
impl FormattableCustomExtension for NoCustomExtension
type CustomDisplayContext<'a> = ()
Source§fn display_string_content<'s, 'de, 'a, 't, 's1, 's2, F>(
_: &mut F,
_: &<NoCustomExtension as FormattableCustomExtension>::CustomDisplayContext<'a>,
_: &<<NoCustomExtension as CustomExtension>::CustomTraversal as CustomTraversal>::CustomTerminalValueRef<'de>,
) -> Result<(), Error>where
F: Write,
fn display_string_content<'s, 'de, 'a, 't, 's1, 's2, F>(
_: &mut F,
_: &<NoCustomExtension as FormattableCustomExtension>::CustomDisplayContext<'a>,
_: &<<NoCustomExtension as CustomExtension>::CustomTraversal as CustomTraversal>::CustomTerminalValueRef<'de>,
) -> Result<(), Error>where
F: Write,
The gives the inner formatted representation of the value.
This function should write the value content to the formatter. Read more
Source§fn code_generation_string_content<'s, 'de, 'a, 't, 's1, 's2, F>(
_: &mut F,
_: &<NoCustomExtension as FormattableCustomExtension>::CustomDisplayContext<'a>,
_: &<<NoCustomExtension as CustomExtension>::CustomTraversal as CustomTraversal>::CustomTerminalValueRef<'de>,
) -> Result<(), Error>where
F: Write,
fn code_generation_string_content<'s, 'de, 'a, 't, 's1, 's2, F>(
_: &mut F,
_: &<NoCustomExtension as FormattableCustomExtension>::CustomDisplayContext<'a>,
_: &<<NoCustomExtension as CustomExtension>::CustomTraversal as CustomTraversal>::CustomTerminalValueRef<'de>,
) -> Result<(), Error>where
F: Write,
This should output code to generate the value.
Source§fn debug_string_content<'s, 'de, 'a, 't, 's1, 's2, F>(
f: &mut F,
context: &Self::CustomDisplayContext<'a>,
value: &<Self::CustomTraversal as CustomTraversal>::CustomTerminalValueRef<'de>,
) -> Result<(), Error>where
F: Write,
fn debug_string_content<'s, 'de, 'a, 't, 's1, 's2, F>(
f: &mut F,
context: &Self::CustomDisplayContext<'a>,
value: &<Self::CustomTraversal as CustomTraversal>::CustomTerminalValueRef<'de>,
) -> Result<(), Error>where
F: Write,
The gives the inner debug representation of the value.
This function should write the value content to the formatter. Read more
Source§impl PartialEq for NoCustomExtension
impl PartialEq for NoCustomExtension
Source§impl ValidatableCustomExtension<()> for NoCustomExtension
impl ValidatableCustomExtension<()> for NoCustomExtension
fn apply_validation_for_custom_value<'de>( _: &SchemaV1<<NoCustomExtension as CustomExtension>::CustomSchema>, _: &<<NoCustomExtension as CustomExtension>::CustomTraversal as CustomTraversal>::CustomTerminalValueRef<'de>, _: LocalTypeId, _: &(), ) -> Result<(), PayloadValidationError<NoCustomExtension>>
fn apply_custom_type_validation_for_non_custom_value<'de>( _: &SchemaV1<<NoCustomExtension as CustomExtension>::CustomSchema>, _: &<<NoCustomExtension as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeValidation, _: &TerminalValueRef<'de, <NoCustomExtension as CustomExtension>::CustomTraversal>, _: &(), ) -> Result<(), PayloadValidationError<NoCustomExtension>>
impl Copy for NoCustomExtension
impl Eq for NoCustomExtension
impl StructuralPartialEq for NoCustomExtension
Auto Trait Implementations§
impl Freeze for NoCustomExtension
impl RefUnwindSafe for NoCustomExtension
impl Send for NoCustomExtension
impl Sync for NoCustomExtension
impl Unpin for NoCustomExtension
impl UnwindSafe for NoCustomExtension
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> ContextualTryInto<U> for Twhere
U: ContextualTryFrom<T>,
impl<T, U> ContextualTryInto<U> for Twhere
U: ContextualTryFrom<T>,
type Error = <U as ContextualTryFrom<T>>::Error
type Context = <U as ContextualTryFrom<T>>::Context
fn contextual_try_into( self, context: &<U as ContextualTryFrom<T>>::Context, ) -> Result<U, <U as ContextualTryFrom<T>>::Error>
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.