pub trait Default: Sized {
// Required method
fn default() -> Self;
}
Expand description
A trait for giving a type a useful default value.
Sometimes, you want to fall back to some kind of default value, and
don’t particularly care what it is. This comes up often with struct
s
that define a set of options:
struct SomeOptions {
foo: i32,
bar: f32,
}
How can we define some default values? You can use Default
:
#[derive(Default)]
struct SomeOptions {
foo: i32,
bar: f32,
}
fn main() {
let options: SomeOptions = Default::default();
}
Now, you get all of the default values. Rust implements Default
for various primitives types.
If you want to override a particular option, but still retain the other defaults:
fn main() {
let options = SomeOptions { foo: 42, ..Default::default() };
}
§Derivable
This trait can be used with #[derive]
if all of the type’s fields implement
Default
. When derive
d, it will use the default value for each field’s type.
§enum
s
When using #[derive(Default)]
on an enum
, you need to choose which unit variant will be
default. You do this by placing the #[default]
attribute on the variant.
#[derive(Default)]
enum Kind {
#[default]
A,
B,
C,
}
You cannot use the #[default]
attribute on non-unit or non-exhaustive variants.
The #[default]
attribute was stabilized in Rust 1.62.0.
§How can I implement Default
?
Provide an implementation for the default()
method that returns the value of
your type that should be the default:
enum Kind {
A,
B,
C,
}
impl Default for Kind {
fn default() -> Self { Kind::A }
}
§Examples
#[derive(Default)]
struct SomeOptions {
foo: i32,
bar: f32,
}
Required Methods§
1.0.0 · sourcefn default() -> Self
fn default() -> Self
Returns the “default value” for a type.
Default values are often some kind of initial value, identity value, or anything else that may make sense as a default.
§Examples
Using built-in default values:
let i: i8 = Default::default();
let (x, y): (Option<String>, f64) = Default::default();
let (a, b, (c, d)): (i32, u32, (bool, bool)) = Default::default();
Making your own:
enum Kind {
A,
B,
C,
}
impl Default for Kind {
fn default() -> Self { Kind::A }
}
Object Safety§
Implementors§
impl Default for &str
impl Default for &CStr
impl Default for &OsStr
impl Default for &mut str
impl Default for DispatchKind
impl Default for ErrorReplyReason
impl Default for ReplyCode
impl Default for SignalCode
impl Default for SimpleExecutionError
impl Default for SimpleProgramCreationError
impl Default for SuccessReplyReason
impl Default for ExtrinsicInclusionMode
impl Default for RuntimeString
impl Default for StateVersion
impl Default for AsciiChar
impl Default for Value
The default value is Value::Null
.
This is useful for handling omitted Value
fields when deserializing.
§Examples
use serde_json::Value;
#[derive(Deserialize)]
struct Settings {
level: i32,
#[serde(default)]
extras: Value,
}
let data = r#" { "level": 42 } "#;
let s: Settings = serde_json::from_str(data)?;
assert_eq!(s.level, 42);
assert_eq!(s.extras, Value::Null);
impl Default for bool
impl Default for char
impl Default for f16
impl Default for f32
impl Default for f64
impl Default for f128
impl Default for i8
impl Default for i16
impl Default for i32
impl Default for i64
impl Default for i128
impl Default for isize
impl Default for u8
impl Default for u16
impl Default for u32
impl Default for u64
impl Default for u128
impl Default for ()
impl Default for usize
impl Default for RuntimeBufferSizeError
impl Default for TryNewCodeConfig
impl Default for BlocksAmount
impl Default for BytesAmount
impl Default for CallsAmount
impl Default for ExtCosts
impl Default for InstantiationCosts
impl Default for IoCosts
impl Default for LazyPagesCosts
impl Default for PagesCosts
impl Default for ProcessCosts
impl Default for RentCosts
impl Default for SyscallCosts
impl Default for GasInfo
impl Default for CustomConstantCostRules
impl Default for DbWeights
impl Default for InstantiationWeights
impl Default for InstructionWeights
impl Default for Limits
impl Default for MemoryWeights
impl Default for RentWeights
impl Default for Schedule
impl Default for SyscallWeights
impl Default for TaskWeights
impl Default for IntoPageBufError
impl Default for Message
impl Default for ReplyDetails
impl Default for SignalDetails
impl Default for ContextOutcome
impl Default for ContextSettings
impl Default for ContextStore
impl Default for HandleMessage
impl Default for HandlePacket
impl Default for IncomingDispatch
impl Default for IncomingMessage
impl Default for InitMessage
impl Default for InitPacket
impl Default for ReplyMessage
impl Default for ReplyPacket
impl Default for SignalMessage
impl Default for StoredMessage
impl Default for PayloadSizeError
impl Default for UserMessage
impl Default for UserStoredMessage
impl Default for MemoryInfix
impl Default for ReservationNonce
impl Default for ApiBuilder
impl Default for gsdk::backtrace::Backtrace
impl Default for gclient::ext::sp_runtime::biguint::BigUint
impl Default for Time
impl Default for gclient::ext::sp_runtime::offchain::Duration
impl Default for OpaqueNetworkState
impl Default for Timestamp
impl Default for gclient::ext::sp_runtime::scale_info::prelude::time::Duration
impl Default for PortableRegistryBuilder
impl Default for gclient::ext::sp_runtime::scale_info::Registry
impl Default for AnySignature
impl Default for CryptoTypeId
impl Default for gclient::ext::sp_runtime::Digest
impl Default for FixedI64
impl Default for FixedI128
impl Default for FixedU64
impl Default for FixedU128
impl Default for KeyTypeId
impl Default for OpaqueExtrinsic
impl Default for PerU16
impl Default for Perbill
impl Default for Percent
impl Default for Permill
impl Default for Perquintill
impl Default for Rational128
impl Default for Storage
impl Default for H256
impl Default for UintAuthorityId
impl Default for ValidTransaction
impl Default for ValidTransactionBuilder
impl Default for CString
impl Default for Rc<str>
impl Default for Rc<CStr>
impl Default for String
impl Default for InMemOffchainStorage
impl Default for OffchainState
impl Default for PendingRequest
impl Default for PoolState
impl Default for TestOffchainExt
impl Default for TestPersistentOffchainDB
impl Default for TestTransactionPoolExt
impl Default for IgnoredAny
impl Default for StorageData
impl Default for H160
impl Default for H512
impl Default for OpaquePeerId
impl Default for U256
impl Default for U512
impl Default for TaskExecutor
impl Default for gclient::ext::sp_core::sp_std::alloc::Global
impl Default for System
impl Default for DefaultHasher
impl Default for gclient::ext::sp_core::sp_std::hash::RandomState
impl Default for SipHasher
impl Default for PhantomPinned
impl Default for RangeFull
impl Default for gclient::ext::sp_core::sp_std::prelude::Box<str>
impl Default for gclient::ext::sp_core::sp_std::prelude::Box<CStr>
impl Default for gclient::ext::sp_core::sp_std::prelude::Box<OsStr>
impl Default for gclient::ext::sp_core::sp_std::prelude::Box<RawValue>
impl Default for Writer
impl Default for AtomicBool
impl Default for AtomicI8
impl Default for AtomicI16
impl Default for AtomicI32
impl Default for AtomicI64
impl Default for AtomicIsize
impl Default for AtomicU8
impl Default for AtomicU16
impl Default for AtomicU32
impl Default for AtomicU64
impl Default for AtomicUsize
impl Default for Arc<str>
impl Default for Arc<CStr>
impl Default for gclient::ext::sp_core::sp_std::sync::Condvar
impl Default for core::fmt::Error
impl Default for Alignment
Returns Alignment::MIN
, which is valid for any type.
impl Default for OsString
impl Default for FileTimes
impl Default for std::io::util::Empty
impl Default for Sink
impl Default for PathBuf
impl Default for ExitCode
The default value is ExitCode::SUCCESS
impl Default for ExitStatus
The default value is one which indicates successful completion.
impl Default for Adler32
impl Default for anyhow::Chain<'_>
impl Default for DefaultOptions
impl Default for http::extensions::Extensions
impl Default for http::method::Method
impl Default for http::request::Builder
impl Default for http::response::Builder
impl Default for http::status::StatusCode
impl Default for http::uri::builder::Builder
impl Default for http::uri::Parts
impl Default for http::uri::Uri
Returns a Uri
representing /
impl Default for http::version::Version
impl Default for itoa::Buffer
impl Default for BigInt
impl Default for num_bigint::biguint::BigUint
impl Default for num_format::buffer::Buffer
impl Default for CustomFormat
impl Default for ryu::buffer::Buffer
impl Default for Map<String, Value>
impl Default for B0
impl Default for B1
impl Default for Z0
impl Default for Equal
impl Default for Greater
impl Default for Less
impl Default for UTerm
impl Default for ThreadRng
impl Default for OsRng
impl Default for AHasher
Provides a default Hasher with fixed keys. This is typically used in conjunction with BuildHasherDefault to create [AHasher]s in order to hash the keys of the map.
Generally it is preferable to use [RandomState] instead, so that different hashmaps will have different keys. However if fixed keys are desirable this may be used instead.
§Example
use std::hash::BuildHasherDefault;
use ahash::{AHasher, RandomState};
use std::collections::HashMap;
let mut map: HashMap<i32, i32, BuildHasherDefault<AHasher>> = HashMap::default();
map.insert(12, 34);
impl Default for AHasher
Provides a default Hasher with fixed keys. This is typically used in conjunction with BuildHasherDefault to create [AHasher]s in order to hash the keys of the map.
Generally it is preferable to use [RandomState] instead, so that different hashmaps will have different keys. However if fixed keys are desireable this may be used instead.
§Example
use std::hash::BuildHasherDefault;
use ahash::{AHasher, RandomState};
use std::collections::HashMap;
let mut map: HashMap<i32, i32, BuildHasherDefault<AHasher>> = HashMap::default();
map.insert(12, 34);
impl Default for Abbreviations
impl Default for Abbreviations
impl Default for AbbreviationsCache
impl Default for AbbreviationsCache
impl Default for Acceptor
impl Default for Acceptor
impl Default for ActorId
impl Default for AddressMapSection
impl Default for Affine
impl Default for AffineStorage
impl Default for AhoCorasickBuilder
impl Default for AlignedType
impl Default for AllocationStats
impl Default for AnyDelimiterCodec
impl Default for ArrayParams
impl Default for ArrayParams
impl Default for AtomicWaker
impl Default for AtomicWaker
impl Default for Augmentation
impl Default for Augmentation
impl Default for Backtrace
impl Default for BaseAddresses
impl Default for BaseAddresses
impl Default for BasicExternalities
impl Default for BatchResponseBuilder
impl Default for BigEndian
impl Default for BigEndian
impl Default for BigEndian
impl Default for BigEndian
impl Default for BigEndian
impl Default for Bits
impl Default for BlockNumberWithHash
impl Default for Body
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder<Identity, Identity>
impl Default for ByteClasses
impl Default for Bytes
impl Default for BytesCodec
impl Default for BytesMut
impl Default for CancellationToken
impl Default for Case
impl Default for CertificateChain
impl Default for ChargeTransactionPaymentParams
impl Default for CheckNonceParams
impl Default for ClassBytesRange
impl Default for ClassBytesRange
impl Default for ClassUnicodeRange
impl Default for ClassUnicodeRange
impl Default for ClientBuilder
impl Default for ClientBuilder
impl Default for CodeId
impl Default for CodeSection
impl Default for CodeSection
impl Default for Codec
impl Default for Codec
impl Default for Color
impl Default for ColorChoice
The default is Auto
.
impl Default for ColorSpec
impl Default for ColoredString
impl Default for Compact
impl Default for CompressedEdwardsY
impl Default for CompressedRistretto
impl Default for CompressionCache
impl Default for CompressorOxide
impl Default for Condvar
impl Default for Config
impl Default for Config
impl Default for Config
impl Default for Config
impl Default for Config
impl Default for Config
impl Default for Config
impl Default for Config
impl Default for Config
The defaults are that of https://url.spec.whatwg.org/#idna
impl Default for Config
impl Default for ConnectionId
impl Default for ConnectorBuilder<WantsTlsConfig>
impl Default for Const
impl Default for ConstantCostRules
impl Default for Context
impl Default for Context
impl Default for CustomSection
impl Default for CustomSection
impl Default for CvQualifiers
impl Default for DataSection
impl Default for DataSection
impl Default for DataSegmentBuilder
impl Default for DataSegmentBuilder
impl Default for Day
Creates a modifier that indicates the value is padded with zeroes.
impl Default for DebugInfoOffsets
impl Default for DecompressorOxide
impl Default for DefaultFields
impl Default for DefaultServerNameResolver
impl Default for DefaultToHost
impl Default for DefaultToUnknown
impl Default for DeframerVecBuffer
impl Default for DemangleOptions
impl Default for Digest
impl Default for Directive
impl Default for Dispatch
impl Default for Duration
impl Default for Dwarf
impl Default for DwarfFileType
impl Default for DwarfFileType
impl Default for Eager
impl Default for EdwardsPoint
impl Default for ElementSection
impl Default for ElementSection
impl Default for Encoding
impl Default for End
Creates a modifier used to represent the end of input.
impl Default for Endianness
impl Default for Endianness
impl Default for Engine
impl Default for EnvFilter
impl Default for Era
impl Default for Error
impl Default for ErrorBytes
impl Default for ErrorWithGas
impl Default for ErrorWithHandle
impl Default for ErrorWithHash
impl Default for ErrorWithReplyCode
impl Default for ErrorWithSignalCode
impl Default for ErrorWithTwoHashes
impl Default for Errors
impl Default for EventFlags
impl Default for EventFlags
impl Default for ExportBuilder
impl Default for ExportBuilder
impl Default for ExportSection
impl Default for ExportSection
impl Default for Expression
impl Default for Extensions
impl Default for Extensions
impl Default for ExtractKind
impl Default for Extractor
impl Default for Field
impl Default for FieldStorage
impl Default for FileInfo
impl Default for FilePos
impl Default for FinderBuilder
impl Default for FnvHasher
impl Default for Format
impl Default for FormatterOptions
impl Default for FrameTable
impl Default for Full
impl Default for FuncValidatorAllocations
impl Default for FuncValidatorAllocations
impl Default for FunctionBuilder
impl Default for FunctionBuilder
impl Default for FunctionDefinition
impl Default for FunctionDefinition
impl Default for FunctionNameSubsection
impl Default for FunctionNameSubsection
impl Default for FunctionSection
impl Default for FunctionSection
impl Default for FunctionType
impl Default for FunctionType
impl Default for FxBuildHasher
impl Default for FxHasher
impl Default for FxHasher
impl Default for GeneralPurposeConfig
impl Default for GeneralPurposeConfig
impl Default for Global
impl Default for GlobalBuilder
impl Default for GlobalBuilder
impl Default for GlobalSection
impl Default for GlobalSection
impl Default for GroupInfo
impl Default for H128
impl Default for H384
impl Default for H768
impl Default for Hash64
impl Default for Hash128
impl Default for Hash256StdHasher
impl Default for HashEngine
impl Default for HashEngine
impl Default for HashEngine
impl Default for HashEngine
impl Default for HashEngine
impl Default for HashEngine
impl Default for HashWithValue
impl Default for Hour
Creates a modifier that indicates the value is padded with zeroes and has the 24-hour representation.
impl Default for HpkeAead
impl Default for HpkeKdf
impl Default for HpkeSymmetricCipherSuite
impl Default for HttpClientBuilder
impl Default for HttpTransportClientBuilder<Identity>
impl Default for Identity
impl Default for Identity
impl Default for Idna
impl Default for ImageSectionHeader
impl Default for ImportBuilder
impl Default for ImportBuilder
impl Default for ImportSection
impl Default for ImportSection
impl Default for InflateState
impl Default for InstanceAllocationStrategy
impl Default for InvalidBufferSize
impl Default for InvalidKeyLength
impl Default for InvalidOutputSize
impl Default for InvalidOutputSize
impl Default for Iv
impl Default for Iv
impl Default for Jacobian
impl Default for Keccak224Core
impl Default for Keccak256Core
impl Default for Keccak256FullCore
impl Default for Keccak384Core
impl Default for Keccak512Core
impl Default for Language
impl Default for Lazy
impl Default for LazyStateID
impl Default for LengthDelimitedCodec
impl Default for LineEncoding
impl Default for LineEncoding
impl Default for LineEnding
impl Default for LineStringTable
impl Default for LinesCodec
impl Default for LittleEndian
impl Default for LittleEndian
impl Default for LittleEndian
impl Default for LittleEndian
impl Default for LittleEndian
impl Default for LocalNameSubsection
impl Default for LocalNameSubsection
impl Default for LocalNodeCacheLimiter
impl Default for LocalPool
impl Default for LocalSet
impl Default for LocalValueCacheLimiter
impl Default for LocationListTable
impl Default for Log
impl Default for LogTracer
impl Default for LookMatcher
impl Default for LookSet
impl Default for LookSet
impl Default for Lsb0
impl Default for MacError
impl Default for MacError
impl Default for MatchKind
impl Default for MatchKind
impl Default for MatchKind
The default match kind is MatchKind::Standard
.
impl Default for MemfdOptions
impl Default for MemoryBuilder
impl Default for MemoryBuilder
impl Default for MemoryInitialization
impl Default for MemoryKeystore
impl Default for MemorySection
impl Default for MemorySection
impl Default for MessageDeframer
impl Default for MessageFragmenter
impl Default for MessageId
impl Default for Method
impl Default for Methods
impl Default for Midstate
impl Default for Minute
Creates a modifier that indicates the value is padded with zeroes.
impl Default for MissedTickBehavior
impl Default for Module
impl Default for Module
impl Default for Module
impl Default for ModuleBuilder
impl Default for ModuleBuilder
impl Default for ModuleContext
impl Default for ModuleContextBuilder
impl Default for ModuleTypes
impl Default for ModuleTypesBuilder
impl Default for ModuleVersionStrategy
impl Default for MontgomeryPoint
impl Default for Month
Creates an instance of this type that indicates the value uses the
Numerical
representation, is padded with zeroes,
and is case-sensitive when parsing.
impl Default for MonthRepr
Creates a modifier that indicates the value uses the
Numerical
representation.
impl Default for Msb0
impl Default for Mut
impl Default for NibbleVec
impl Default for NoSubscriber
impl Default for Notify
impl Default for NullProfilerAgent
impl Default for NullPtrError
impl Default for ObjectParams
impl Default for ObjectParams
impl Default for OffchainOverlayedChanges
impl Default for OffsetHour
Creates a modifier that indicates the value only uses a sign for negative values and is padded with zeroes.
impl Default for OffsetMinute
Creates a modifier that indicates the value is padded with zeroes.
impl Default for OffsetSecond
Creates a modifier that indicates the value is padded with zeroes.
impl Default for OnDemandInstanceAllocator
impl Default for Once
impl Default for OnceBool
impl Default for OnceNonZeroUsize
impl Default for OpenOptions
impl Default for Ordinal
Creates a modifier that indicates the value is padded with zeroes.
impl Default for Padding
Creates a modifier that indicates the value is padded with zeroes.
impl Default for Params
impl Default for Params
impl Default for Params
impl Default for ParamsString
impl Default for ParseOptions
impl Default for Parser
impl Default for Parser
impl Default for ParserBuilder
impl Default for ParserBuilder
impl Default for ParserBuilder
impl Default for ParserBuilder
impl Default for ParserConfig
impl Default for Parts
impl Default for PatternID
impl Default for PatternID
impl Default for Period
Creates a modifier that indicates the value uses the upper-case representation and is case-sensitive when parsing.
impl Default for PingConfig
impl Default for PingConfig
impl Default for PingConfig
impl Default for Pointer
impl Default for Pointer
impl Default for PollNext
impl Default for PrefilterConfig
impl Default for Pretty
impl Default for PrettyFields
impl Default for ProgramMemoryDump
impl Default for PublicKey
impl Default for RandomHashBuilder64
impl Default for RandomHashBuilder128
impl Default for RandomState
Creates an instance of RandomState using keys obtained from the random number generator. Each instance created in this way will have a unique set of keys. (But the resulting instance can be used to create many hashers each or which will have the same keys.)
This is the same as [RandomState::new()]
NOTE: For safety this trait impl is only available available if either of the flags runtime-rng
(on by default) or
compile-time-rng
are enabled. This is to prevent weakly keyed maps from being accidentally created. Instead one of
constructors for [RandomState] must be used.
impl Default for RandomState
impl Default for RandomState
impl Default for RandomXxHashBuilder32
impl Default for RandomXxHashBuilder64
impl Default for RangeListTable
impl Default for RationalInfinite
impl Default for ReadBinaryOptions
impl Default for ReadFlags
impl Default for RecoverableSignature
impl Default for RegexBuilder
impl Default for RegexSet
impl Default for RegexSet
impl Default for Registry
impl Default for Relocation
impl Default for ReservationId
impl Default for ResolveFlags
impl Default for ResolveFlags
impl Default for Resumption
impl Default for Resumption
impl Default for RistrettoBoth
impl Default for RistrettoPoint
impl Default for RpcParams
impl Default for RpcServiceBuilder<Identity>
impl Default for RunTimeEndian
impl Default for RunTimeEndian
impl Default for RuntimeDbWeight
impl Default for Scalar
impl Default for Scalar
impl Default for Second
Creates a modifier that indicates the value is padded with zeroes.
impl Default for Secp256k1<All>
impl Default for SecretKey
impl Default for SectionBaseAddresses
impl Default for SectionBaseAddresses
impl Default for SectionIndex
impl Default for ServerConfig
impl Default for ServerConnectionData
impl Default for ServerConnectionData
impl Default for ServiceBuilder<Identity>
impl Default for Sha1
impl Default for Sha1Core
impl Default for Sha3_224Core
impl Default for Sha3_256Core
impl Default for Sha3_384Core
impl Default for Sha3_512Core
impl Default for Sha224
impl Default for Sha256
impl Default for Sha384
impl Default for Sha512
impl Default for Sha512Trunc224
impl Default for Sha512Trunc256
impl Default for Shake128Core
impl Default for Shake256Core
impl Default for ShouldColorize
impl Default for SignatureBuilder
impl Default for SignatureBuilder
impl Default for SignaturesBuilder
impl Default for SignaturesBuilder
impl Default for SizeHint
impl Default for SmallIndex
impl Default for SpinWait
impl Default for StackRecycler
impl Default for StartKind
impl Default for State
impl Default for State
impl Default for StateID
impl Default for StateID
impl Default for StateMachineStats
impl Default for StatusCode
impl Default for StoreData
impl Default for StoreLimits
impl Default for StringTable
impl Default for Style
impl Default for Subscriber
impl Default for SubscriberBuilder
impl Default for Subsecond
Creates a modifier that indicates the stringified value contains one or more digits.
impl Default for SubsecondDigits
Creates a modifier that indicates the stringified value contains one or more digits.
impl Default for SymbolIndex
impl Default for SystemTime
impl Default for Table
impl Default for TableBuilder
impl Default for TableBuilder
impl Default for TableDefinition
impl Default for TableDefinition
impl Default for TableInitialization
impl Default for TableSection
impl Default for TableSection
impl Default for Target
impl Default for Targets
impl Default for TestWriter
impl Default for ThreadPoolBuilder
impl Default for TimestampPrecision
The default timestamp precision is seconds.
impl Default for TokioExecutor
impl Default for TokioTimer
impl Default for TranslatorBuilder
impl Default for TranslatorBuilder
impl Default for TrapEncodingBuilder
impl Default for TrieFactory
impl Default for TrieSpec
impl Default for TrieStream
impl Default for Tunables
impl Default for TwoHashes
impl Default for TwoHashesWithValue
impl Default for TwoPointZero
impl Default for TwoPointZero
impl Default for TypeSection
impl Default for TypeSection
impl Default for U128
impl Default for UnitTable
impl Default for UnixTimestamp
Creates a modifier that indicates the value represents the number of seconds since the Unix epoch. The sign is not mandatory.
impl Default for UnixTimestampPrecision
Creates a modifier that indicates the value represents the number of seconds since the Unix epoch.
impl Default for Unlimited
impl Default for UnlimitedCompact
impl Default for UnparkResult
impl Default for UntypedValue
impl Default for Uptime
impl Default for Uri
Returns a Uri
representing /
impl Default for UsageUnit
impl Default for UseDalekExt
impl Default for VMRuntimeLimits
impl Default for VRFPreOut
impl Default for Validator
impl Default for Validator
impl Default for VerificationKey
impl Default for Verifier
impl Default for Verifier
impl Default for VerifyingKey
impl Default for Version
impl Default for Version
impl Default for Version
impl Default for VersionIndex
impl Default for VersionIndex
impl Default for WasmEntryAttributes
impl Default for WasmFeatures
impl Default for WasmFeatures
impl Default for WasmFileInfo
impl Default for WasmFunctionInfo
impl Default for WasmLevel
impl Default for WasmMetadata
impl Default for WatchFlags
impl Default for WatchFlags
impl Default for WeekNumber
Creates a modifier that indicates that the value is padded with zeroes
and uses the Iso
representation.
impl Default for WeekNumberRepr
Creates a modifier that indicates that the value uses the Iso
representation.
impl Default for Weekday
Creates a modifier that indicates the value uses the Long
representation and is case-sensitive when parsing. If the representation is changed to a
numerical one, the instance defaults to one-based indexing.
impl Default for WeekdayRepr
Creates a modifier that indicates the value uses the Long
representation.
impl Default for Weight
impl Default for WhichCaptures
impl Default for WhichConfig
impl Default for WhitelistedHosts
impl Default for WriteStyle
impl Default for WsClientBuilder
impl Default for WsTransportClientBuilder
impl Default for WsTransportClientBuilder
impl Default for XxHash32
impl Default for XxHash64
impl Default for Year
Creates a modifier that indicates the value uses the Full
representation, is padded with zeroes, uses the Gregorian calendar as its
base, and only includes the year’s sign if necessary.
impl Default for YearRepr
Creates a modifier that indicates the value uses the Full
representation.
impl Default for vec128_storage
impl Default for vec256_storage
impl Default for vec512_storage
impl<'a> Default for MetadataBuilder<'a>
impl<'a> Default for RecordBuilder<'a>
impl<'a> Default for PrettyFormatter<'a>
impl<'a> Default for BatchRequestBuilder<'a>
impl<'a> Default for BatchRequestBuilder<'a>
impl<'a> Default for DebugInfoData<'a>
impl<'a> Default for Env<'a>
impl<'a> Default for Imports<'a>
impl<'a> Default for ImportsBuilder<'a>
impl<'a> Default for IterArgs<'a>
impl<'a> Default for NameSection<'a>
impl<'a, H, I> Default for KeysIter<'a, H, I>
impl<'a, H, I> Default for PairsIter<'a, H, I>
impl<'a, K, V> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::Iter<'a, K, V>where
K: 'a,
V: 'a,
impl<'a, K, V> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::IterMut<'a, K, V>where
K: 'a,
V: 'a,
impl<'a, K, V> Default for Iter<'a, K, V>
impl<'a, K, V> Default for IterMut<'a, K, V>
impl<'a, K, V> Default for Keys<'a, K, V>
impl<'a, K, V> Default for Values<'a, K, V>
impl<'a, K, V> Default for ValuesMut<'a, K, V>
impl<'a, M, T, O> Default for BitDomain<'a, M, T, O>where
M: Mutability,
T: 'a + BitStore,
O: BitOrder,
Address<M, BitSlice<T, O>>: Referential<'a>,
Address<M, BitSlice<<T as BitStore>::Unalias, O>>: Referential<'a>,
<Address<M, BitSlice<T, O>> as Referential<'a>>::Ref: Default,
<Address<M, BitSlice<<T as BitStore>::Unalias, O>> as Referential<'a>>::Ref: Default,
impl<'a, M, T, O> Default for Domain<'a, M, T, O>where
M: Mutability,
T: 'a + BitStore,
O: BitOrder,
Address<M, T>: Referential<'a>,
Address<M, [<T as BitStore>::Unalias]>: SliceReferential<'a>,
<Address<M, [<T as BitStore>::Unalias]> as Referential<'a>>::Ref: Default,
impl<'a, T> Default for Iter<'a, T>
impl<'a, T> Default for IterHash<'a, T>
impl<'a, T> Default for IterHashMut<'a, T>
impl<'a, T> Default for IterMut<'a, T>
impl<'a, T> Default for OnceRef<'a, T>
impl<'a, T, U> Default for Cow<'a, T, U>
impl<'data> Default for Bytes<'data>
impl<'data> Default for Bytes<'data>
impl<'data> Default for ModuleTranslation<'data>
impl<'data> Default for ObjectMap<'data>
impl<'data> Default for ObjectMap<'data>
impl<'data> Default for ObjectMapEntry<'data>
impl<'data> Default for ObjectMapEntry<'data>
impl<'data> Default for RelocationBlockIterator<'data>
impl<'data> Default for SectionTable<'data>
impl<'data> Default for Version<'data>
impl<'data> Default for Version<'data>
impl<'data, E> Default for LoadCommandIterator<'data, E>where
E: Default + Endian,
impl<'data, Elf> Default for VersionTable<'data, Elf>where
Elf: FileHeader,
impl<'data, Elf> Default for VersionTable<'data, Elf>where
Elf: FileHeader,
impl<'data, Elf, R> Default for SectionTable<'data, Elf, R>
impl<'data, Elf, R> Default for SectionTable<'data, Elf, R>
impl<'data, Elf, R> Default for SymbolTable<'data, Elf, R>where
Elf: FileHeader,
R: ReadRef<'data>,
impl<'data, Elf, R> Default for SymbolTable<'data, Elf, R>where
Elf: FileHeader,
R: ReadRef<'data>,
impl<'data, Mach, R> Default for SymbolTable<'data, Mach, R>where
Mach: MachHeader,
R: ReadRef<'data>,
impl<'data, R> Default for StringTable<'data, R>where
R: ReadRef<'data>,
impl<'data, R> Default for StringTable<'data, R>where
R: ReadRef<'data>,
impl<'data, R, Coff> Default for SymbolTable<'data, R, Coff>where
R: ReadRef<'data>,
Coff: CoffHeader,
impl<'data, Xcoff> Default for SectionTable<'data, Xcoff>where
Xcoff: FileHeader,
impl<'data, Xcoff, R> Default for SymbolTable<'data, Xcoff, R>where
Xcoff: FileHeader,
R: ReadRef<'data>,
impl<'input, Endian> Default for EndianSlice<'input, Endian>where
Endian: Default + Endianity,
impl<'input, Endian> Default for EndianSlice<'input, Endian>where
Endian: Default + Endianity,
impl<'s, T> Default for SliceVec<'s, T>
impl<A> Default for ArrayVec<A>where
A: Array,
impl<A> Default for Box<str, A>where
A: Allocator + Default,
impl<A> Default for SmallVec<A>where
A: Array,
impl<A> Default for TinyVec<A>where
A: Array,
impl<A, B> Default for gclient::ext::sp_core::sp_std::iter::Chain<A, B>
impl<A, O> Default for BitArray<A, O>where
A: BitViewSized,
O: BitOrder,
impl<B> Default for gclient::ext::sp_core::bounded::alloc::borrow::Cow<'_, B>
impl<B> Default for BlockAndTime<B>where
B: BlockNumberProvider,
impl<B> Default for BlockAndTimeDeadline<B>where
B: BlockNumberProvider,
impl<B> Default for Collected<B>
impl<BlockSize> Default for BlockBuffer<BlockSize>
impl<BlockSize, Kind> Default for BlockBuffer<BlockSize, Kind>
impl<D> Default for Empty<D>
impl<D> Default for Full<D>where
D: Buf,
impl<D, E> Default for BoxBody<D, E>where
D: Buf + 'static,
impl<D, E> Default for UnsyncBoxBody<D, E>where
D: Buf + 'static,
impl<E> Default for CompressionHeader32<E>where
E: Default + Endian,
impl<E> Default for CompressionHeader32<E>where
E: Default + Endian,
impl<E> Default for CompressionHeader64<E>where
E: Default + Endian,
impl<E> Default for CompressionHeader64<E>where
E: Default + Endian,
impl<E> Default for FormattedFields<E>
impl<E> Default for I16<E>where
E: Default + Endian,
impl<E> Default for I16Bytes<E>where
E: Default + Endian,
impl<E> Default for I16Bytes<E>where
E: Default + Endian,
impl<E> Default for I32<E>where
E: Default + Endian,
impl<E> Default for I32Bytes<E>where
E: Default + Endian,
impl<E> Default for I32Bytes<E>where
E: Default + Endian,
impl<E> Default for I64<E>where
E: Default + Endian,
impl<E> Default for I64Bytes<E>where
E: Default + Endian,
impl<E> Default for I64Bytes<E>where
E: Default + Endian,
impl<E> Default for Sym32<E>where
E: Default + Endian,
impl<E> Default for Sym32<E>where
E: Default + Endian,
impl<E> Default for Sym64<E>where
E: Default + Endian,
impl<E> Default for Sym64<E>where
E: Default + Endian,
impl<E> Default for U16<E>where
E: Default + Endian,
impl<E> Default for U16Bytes<E>where
E: Default + Endian,
impl<E> Default for U16Bytes<E>where
E: Default + Endian,
impl<E> Default for U32<E>where
E: Default + Endian,
impl<E> Default for U32Bytes<E>where
E: Default + Endian,
impl<E> Default for U32Bytes<E>where
E: Default + Endian,
impl<E> Default for U64<E>where
E: Default + Endian,
impl<E> Default for U64Bytes<E>where
E: Default + Endian,
impl<E> Default for U64Bytes<E>where
E: Default + Endian,
impl<F> Default for Variants<F>
impl<F> Default for OptionFuture<F>
impl<F> Default for UtcTime<F>where
F: Formattable + Default,
impl<F, N, T> Default for FieldBuilder<F, N, T>where
F: Form,
impl<F, S> Default for TypeBuilder<F, S>where
F: Form,
impl<F, T> Default for FieldsBuilder<F, T>where
F: Form,
impl<Fut> Default for FuturesOrdered<Fut>where
Fut: Future,
impl<Fut> Default for FuturesUnordered<Fut>
impl<H> Default for BuildHasherDefault<H>
impl<H> Default for NodeCodec<H>where
H: Default,
impl<H> Default for OverlayedChanges<H>where
H: Hasher,
impl<H> Default for Recorder<H>where
H: Hasher,
impl<H> Default for StorageChanges<H>where
H: Hasher,
impl<H> Default for TestExternalities<H>
impl<H> Default for TrieBackend<MemoryDB<H, PrefixedKey<H>, Vec<u8>>, H>
impl<H, KF, T> Default for MemoryDB<H, KF, T>
impl<I> Default for Cloned<I>where
I: Default,
impl<I> Default for Copied<I>where
I: Default,
impl<I> Default for Enumerate<I>where
I: Default,
impl<I> Default for Flatten<I>
impl<I> Default for Fuse<I>where
I: Default,
impl<I> Default for Rev<I>where
I: Default,
impl<Idx> Default for gclient::ext::sp_core::sp_std::ops::Range<Idx>where
Idx: Default,
impl<Idx> Default for core::range::Range<Idx>where
Idx: Default,
impl<Inner> Default for Frozen<Inner>where
Inner: Default + Mutability,
impl<K> Default for EntitySet<K>where
K: EntityRef,
impl<K> Default for Iter<'_, K>
impl<K, A> Default for IntoIter<K, A>where
A: Allocator,
impl<K, V> Default for &Slice<K, V>
impl<K, V> Default for &mut Slice<K, V>
impl<K, V> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::Keys<'_, K, V>
impl<K, V> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::Range<'_, K, V>
impl<K, V> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::Values<'_, K, V>
impl<K, V> Default for BTreeMap<K, V>
impl<K, V> Default for gclient::ext::sp_core::sp_std::prelude::Box<Slice<K, V>>
impl<K, V> Default for AHashMap<K, V>
NOTE: For safety this trait impl is only available available if either of the flags runtime-rng
(on by default) or
compile-time-rng
are enabled. This is to prevent weakly keyed maps from being accidentally created. Instead one of
constructors for [RandomState] must be used.
impl<K, V> Default for IndexMap<K, V>
impl<K, V> Default for IntoIter<K, V>
impl<K, V> Default for IntoKeys<K, V>
impl<K, V> Default for IntoValues<K, V>
impl<K, V> Default for Iter<'_, K, V>
impl<K, V> Default for IterMut2<'_, K, V>
impl<K, V> Default for IterMut<'_, K, V>
impl<K, V> Default for Keys<'_, K, V>
impl<K, V> Default for PrimaryMap<K, V>where
K: EntityRef,
impl<K, V> Default for SecondaryMap<K, V>
impl<K, V> Default for StreamMap<K, V>
impl<K, V> Default for Values<'_, K, V>
impl<K, V> Default for ValuesMut<'_, K, V>
impl<K, V, A> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::IntoIter<K, V, A>
impl<K, V, A> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::IntoKeys<K, V, A>
impl<K, V, A> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::IntoValues<K, V, A>
impl<K, V, A> Default for IntoIter<K, V, A>where
A: Allocator,
impl<K, V, A> Default for IntoKeys<K, V, A>where
A: Allocator,
impl<K, V, A> Default for IntoValues<K, V, A>where
A: Allocator,
impl<K, V, L, S> Default for LruMap<K, V, L, S>
impl<K, V, S> Default for BoundedBTreeMap<K, V, S>
impl<K, V, S> Default for std::collections::hash::map::HashMap<K, V, S>where
S: Default,
impl<K, V, S> Default for indexmap::map::IndexMap<K, V, S>where
S: Default,
impl<K, V, S> Default for IndexMap<K, V, S>where
S: Default,
impl<K, V, S, A> Default for HashMap<K, V, S, A>
impl<K, V, S, A> Default for HashMap<K, V, S, A>
impl<K, V, S, A> Default for HashMap<K, V, S, A>
impl<K, V, S, A> Default for HashMap<K, V, S, A>
impl<L> Default for Recorder<L>where
L: TrieLayout,
impl<M, T, O> Default for BitPtrRange<M, T, O>where
M: Mutability,
T: BitStore,
O: BitOrder,
impl<R> Default for BitEnd<R>where
R: Default + BitRegister,
impl<R> Default for BitIdx<R>where
R: Default + BitRegister,
impl<R> Default for BitIdxError<R>where
R: Default + BitRegister,
impl<R> Default for BitMask<R>where
R: Default + BitRegister,
impl<R> Default for BitPos<R>where
R: Default + BitRegister,
impl<R> Default for BitSel<R>where
R: Default + BitRegister,
impl<R> Default for CfaRule<R>where
R: Reader,
impl<R> Default for CfaRule<R>where
R: Reader,
impl<R> Default for DebugAbbrev<R>where
R: Default,
impl<R> Default for DebugAbbrev<R>where
R: Default,
impl<R> Default for DebugAddr<R>where
R: Default,
impl<R> Default for DebugAddr<R>where
R: Default,
impl<R> Default for DebugAranges<R>where
R: Default,
impl<R> Default for DebugAranges<R>where
R: Default,
impl<R> Default for DebugCuIndex<R>where
R: Default,
impl<R> Default for DebugCuIndex<R>where
R: Default,
impl<R> Default for DebugInfo<R>where
R: Default,
impl<R> Default for DebugInfo<R>where
R: Default,
impl<R> Default for DebugLine<R>where
R: Default,
impl<R> Default for DebugLine<R>where
R: Default,
impl<R> Default for DebugLineStr<R>where
R: Default,
impl<R> Default for DebugLineStr<R>where
R: Default,
impl<R> Default for DebugLoc<R>where
R: Default,
impl<R> Default for DebugLoc<R>where
R: Default,
impl<R> Default for DebugLocLists<R>where
R: Default,
impl<R> Default for DebugLocLists<R>where
R: Default,
impl<R> Default for DebugRanges<R>where
R: Default,
impl<R> Default for DebugRanges<R>where
R: Default,
impl<R> Default for DebugRngLists<R>where
R: Default,
impl<R> Default for DebugRngLists<R>where
R: Default,
impl<R> Default for DebugStr<R>where
R: Default,
impl<R> Default for DebugStr<R>where
R: Default,
impl<R> Default for DebugStrOffsets<R>where
R: Default,
impl<R> Default for DebugStrOffsets<R>where
R: Default,
impl<R> Default for DebugTuIndex<R>where
R: Default,
impl<R> Default for DebugTuIndex<R>where
R: Default,
impl<R> Default for DebugTypes<R>where
R: Default,
impl<R> Default for DebugTypes<R>where
R: Default,
impl<R> Default for Dwarf<R>where
R: Default,
impl<R> Default for Dwarf<R>where
R: Default,
impl<R> Default for IgnoreVisitor<R>
impl<R> Default for LocationLists<R>where
R: Default,
impl<R> Default for LocationLists<R>where
R: Default,
impl<R> Default for RangeIter<R>where
R: Reader,
impl<R> Default for RangeIter<R>where
R: Reader,
impl<R> Default for RangeLists<R>where
R: Default,
impl<R> Default for RangeLists<R>where
R: Default,
impl<R, A> Default for UnwindContext<R, A>where
R: Reader,
A: UnwindContextStorage<R>,
impl<R, A> Default for UnwindContext<R, A>where
R: Reader,
A: UnwindContextStorage<R>,
impl<R, G, T> Default for ReentrantMutex<R, G, T>
impl<R, S> Default for UnwindTableRow<R, S>where
R: Reader,
S: UnwindContextStorage<R>,
impl<R, S> Default for UnwindTableRow<R, S>where
R: Reader,
S: UnwindContextStorage<R>,
impl<R, T> Default for Mutex<R, T>
impl<R, T> Default for RwLock<R, T>
impl<Resolver> Default for TraceDecodingVisitor<Resolver>
impl<S> Default for Layer<S>
impl<St> Default for SelectAll<St>where
St: Stream + Unpin,
impl<Storage> Default for __BindgenBitfieldUnit<Storage>where
Storage: Default,
impl<Storage> Default for __BindgenBitfieldUnit<Storage>where
Storage: Default,
impl<Storage> Default for __BindgenBitfieldUnit<Storage>where
Storage: Default,
impl<T> Default for &[T]
impl<T> Default for &Slice<T>
impl<T> Default for &mut [T]
impl<T> Default for Option<T>
impl<T> Default for [T; 0]
impl<T> Default for [T; 1]where
T: Default,
impl<T> Default for [T; 2]where
T: Default,
impl<T> Default for [T; 3]where
T: Default,
impl<T> Default for [T; 4]where
T: Default,
impl<T> Default for [T; 5]where
T: Default,
impl<T> Default for [T; 6]where
T: Default,
impl<T> Default for [T; 7]where
T: Default,
impl<T> Default for [T; 8]where
T: Default,
impl<T> Default for [T; 9]where
T: Default,
impl<T> Default for [T; 10]where
T: Default,
impl<T> Default for [T; 11]where
T: Default,
impl<T> Default for [T; 12]where
T: Default,
impl<T> Default for [T; 13]where
T: Default,
impl<T> Default for [T; 14]where
T: Default,
impl<T> Default for [T; 15]where
T: Default,
impl<T> Default for [T; 16]where
T: Default,
impl<T> Default for [T; 17]where
T: Default,
impl<T> Default for [T; 18]where
T: Default,
impl<T> Default for [T; 19]where
T: Default,
impl<T> Default for [T; 20]where
T: Default,
impl<T> Default for [T; 21]where
T: Default,
impl<T> Default for [T; 22]where
T: Default,
impl<T> Default for [T; 23]where
T: Default,
impl<T> Default for [T; 24]where
T: Default,
impl<T> Default for [T; 25]where
T: Default,
impl<T> Default for [T; 26]where
T: Default,
impl<T> Default for [T; 27]where
T: Default,
impl<T> Default for [T; 28]where
T: Default,
impl<T> Default for [T; 29]where
T: Default,
impl<T> Default for [T; 30]where
T: Default,
impl<T> Default for [T; 31]where
T: Default,
impl<T> Default for [T; 32]where
T: Default,
impl<T> Default for (T₁, T₂, …, Tₙ)where
T: Default,
This trait is implemented for tuples up to twelve items long.
impl<T> Default for CostOf<T>
impl<T> Default for gclient::ext::sp_runtime::app_crypto::Vec<T>
impl<T> Default for gclient::ext::sp_runtime::offchain::http::Request<'static, T>where
T: Default,
impl<T> Default for Interner<T>where
T: Ord,
impl<T> Default for Path<T>where
T: Form,
impl<T> Default for IdentityLookup<T>where
T: Default,
impl<T> Default for PhantomData<T>where
T: ?Sized,
impl<T> Default for gclient::ext::sp_core::bounded::alloc::collections::binary_heap::IntoIter<T>
impl<T> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_set::Iter<'_, T>
impl<T> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_set::Range<'_, T>
impl<T> Default for gclient::ext::sp_core::bounded::alloc::collections::linked_list::IntoIter<T>
impl<T> Default for gclient::ext::sp_core::bounded::alloc::collections::linked_list::Iter<'_, T>
impl<T> Default for gclient::ext::sp_core::bounded::alloc::collections::linked_list::IterMut<'_, T>
impl<T> Default for BTreeSet<T>
impl<T> Default for BinaryHeap<T>where
T: Ord,
impl<T> Default for LinkedList<T>
impl<T> Default for VecDeque<T>
impl<T> Default for Rc<[T]>
impl<T> Default for Rc<T>where
T: Default,
impl<T> Default for gclient::ext::sp_core::bounded::alloc::rc::Weak<T>
impl<T> Default for gclient::ext::sp_core::bounded::alloc::slice::Iter<'_, T>
impl<T> Default for gclient::ext::sp_core::bounded::alloc::slice::IterMut<'_, T>
impl<T> Default for Cell<T>where
T: Default,
impl<T> Default for LazyCell<T>where
T: Default,
impl<T> Default for gclient::ext::sp_core::sp_std::cell::OnceCell<T>
impl<T> Default for RefCell<T>where
T: Default,
impl<T> Default for SyncUnsafeCell<T>where
T: Default,
impl<T> Default for UnsafeCell<T>where
T: Default,
impl<T> Default for Reverse<T>where
T: Default,
impl<T> Default for gclient::ext::sp_core::sp_std::iter::Empty<T>
impl<T> Default for ManuallyDrop<T>
impl<T> Default for Saturating<T>where
T: Default,
impl<T> Default for Wrapping<T>where
T: Default,
impl<T> Default for gclient::ext::sp_core::sp_std::prelude::Box<[T]>
impl<T> Default for gclient::ext::sp_core::sp_std::prelude::Box<Slice<T>>
impl<T> Default for gclient::ext::sp_core::sp_std::prelude::Box<T>where
T: Default,
impl<T> Default for AtomicPtr<T>
impl<T> Default for Arc<[T]>
impl<T> Default for Arc<T>where
T: Default,
impl<T> Default for Exclusive<T>
impl<T> Default for LazyLock<T>where
T: Default,
impl<T> Default for gclient::ext::sp_core::sp_std::sync::Mutex<T>
impl<T> Default for OnceLock<T>
impl<T> Default for ReentrantLock<T>where
T: Default,
impl<T> Default for gclient::ext::sp_core::sp_std::sync::RwLock<T>where
T: Default,
impl<T> Default for gclient::ext::sp_core::sp_std::sync::Weak<T>
impl<T> Default for AssertUnwindSafe<T>where
T: Default,
impl<T> Default for std::io::cursor::Cursor<T>where
T: Default,
impl<T> Default for http::header::map::HeaderMap<T>
impl<T> Default for http::request::Request<T>where
T: Default,
impl<T> Default for http::response::Response<T>where
T: Default,
impl<T> Default for Ratio<T>
impl<T> Default for Pool<T>
impl<T> Default for sharded_slab::Slab<T>
impl<T> Default for TryLock<T>where
T: Default,
impl<T> Default for AHashSet<T>
NOTE: For safety this trait impl is only available available if either of the flags runtime-rng
(on by default) or
compile-time-rng
are enabled. This is to prevent weakly keyed maps from being accidentally created. Instead one of
constructors for [RandomState] must be used.
impl<T> Default for Box<T>where
T: Default,
impl<T> Default for CachedThreadLocal<T>where
T: Send,
impl<T> Default for ChargeAssetTxPaymentParams<T>where
T: Config,
impl<T> Default for CheckMortalityParams<T>where
T: Config,
impl<T> Default for CoreWrapper<T>where
T: Default + BufferKindUser,
<T as BlockSizeUser>::BlockSize: IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>> + Default,
<<T as BlockSizeUser>::BlockSize as IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>::Output: NonZero,
<T as BufferKindUser>::BufferKind: Default,
impl<T> Default for Crossing<T>
impl<T> Default for Cursor<T>where
T: Default,
impl<T> Default for DefaultExtrinsicParamsBuilder<T>where
T: Config,
impl<T> Default for EntityList<T>where
T: EntityRef + ReservedValue,
Create an empty list.