pub enum ManifestCustomExtension {}
Trait Implementations§
source§impl Clone for ManifestCustomExtension
impl Clone for ManifestCustomExtension
source§fn clone(&self) -> ManifestCustomExtension
fn clone(&self) -> ManifestCustomExtension
Returns a copy 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 ManifestCustomExtension
impl CustomExtension for ManifestCustomExtension
const PAYLOAD_PREFIX: u8 = 77u8
type CustomValueKind = ManifestCustomValueKind
type CustomTraversal = ManifestCustomTraversal
type CustomSchema = ScryptoCustomSchema
source§fn custom_value_kind_matches_type_kind(
schema: &SchemaV1<<ManifestCustomExtension as CustomExtension>::CustomSchema>,
custom_value_kind: <ManifestCustomExtension as CustomExtension>::CustomValueKind,
type_kind: &TypeKind<<<ManifestCustomExtension as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeKind<LocalTypeId>, LocalTypeId>
) -> bool
fn custom_value_kind_matches_type_kind( schema: &SchemaV1<<ManifestCustomExtension as CustomExtension>::CustomSchema>, custom_value_kind: <ManifestCustomExtension as CustomExtension>::CustomValueKind, type_kind: &TypeKind<<<ManifestCustomExtension as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeKind<LocalTypeId>, LocalTypeId> ) -> bool
Used in the typed traverser Read more
source§fn custom_type_kind_matches_non_custom_value_kind(
_: &SchemaV1<<ManifestCustomExtension as CustomExtension>::CustomSchema>,
_: &<<ManifestCustomExtension as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeKind<LocalTypeId>,
_: ValueKind<<ManifestCustomExtension as CustomExtension>::CustomValueKind>
) -> bool
fn custom_type_kind_matches_non_custom_value_kind( _: &SchemaV1<<ManifestCustomExtension as CustomExtension>::CustomSchema>, _: &<<ManifestCustomExtension as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeKind<LocalTypeId>, _: ValueKind<<ManifestCustomExtension as CustomExtension>::CustomValueKind> ) -> bool
Used in the typed traverser Read more
source§impl Debug for ManifestCustomExtension
impl Debug for ManifestCustomExtension
source§impl FormattableCustomExtension for ManifestCustomExtension
impl FormattableCustomExtension for ManifestCustomExtension
type CustomDisplayContext<'a> = ManifestValueDisplayContext<'a>
source§fn display_string_content<F, 's, 'de, 'a, 't, 's1, 's2>(
f: &mut F,
context: &<ManifestCustomExtension as FormattableCustomExtension>::CustomDisplayContext<'a>,
value: &<<ManifestCustomExtension as CustomExtension>::CustomTraversal as CustomTraversal>::CustomTerminalValueRef<'de>
) -> Result<(), Error>where
F: Write,
fn display_string_content<F, 's, 'de, 'a, 't, 's1, 's2>(
f: &mut F,
context: &<ManifestCustomExtension as FormattableCustomExtension>::CustomDisplayContext<'a>,
value: &<<ManifestCustomExtension 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§impl PartialEq for ManifestCustomExtension
impl PartialEq for ManifestCustomExtension
source§fn eq(&self, other: &ManifestCustomExtension) -> bool
fn eq(&self, other: &ManifestCustomExtension) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SerializableCustomExtension for ManifestCustomExtension
impl SerializableCustomExtension for ManifestCustomExtension
fn map_value_for_serialization<'de, 't, 's1, 's2, 's, 'a>( context: &SerializationContext<'s, 'a, ManifestCustomExtension>, _: LocalTypeId, custom_value: <<ManifestCustomExtension as CustomExtension>::CustomTraversal as CustomTraversal>::CustomTerminalValueRef<'de> ) -> CustomTypeSerialization<'a, 't, 'de, 's1, 's2, ManifestCustomExtension>
source§impl<'a> ValidatableCustomExtension<()> for ManifestCustomExtension
impl<'a> ValidatableCustomExtension<()> for ManifestCustomExtension
fn apply_validation_for_custom_value<'de>( schema: &SchemaV1<<ManifestCustomExtension as CustomExtension>::CustomSchema>, custom_value: &<<ManifestCustomExtension as CustomExtension>::CustomTraversal as CustomTraversal>::CustomTerminalValueRef<'de>, type_id: LocalTypeId, _: &() ) -> Result<(), PayloadValidationError<ManifestCustomExtension>>
fn apply_custom_type_validation_for_non_custom_value<'de>( _: &SchemaV1<<ManifestCustomExtension as CustomExtension>::CustomSchema>, _: &<<ManifestCustomExtension as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeValidation, _: &TerminalValueRef<'de, <ManifestCustomExtension as CustomExtension>::CustomTraversal>, _: &() ) -> Result<(), PayloadValidationError<ManifestCustomExtension>>
impl Copy for ManifestCustomExtension
impl Eq for ManifestCustomExtension
impl StructuralPartialEq for ManifestCustomExtension
Auto Trait Implementations§
impl RefUnwindSafe for ManifestCustomExtension
impl Send for ManifestCustomExtension
impl Sync for ManifestCustomExtension
impl Unpin for ManifestCustomExtension
impl UnwindSafe for ManifestCustomExtension
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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<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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more