pub trait Hash {
// Required method
fn hash<H>(&self, state: &mut H)
where H: Hasher;
// Provided method
fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher,
Self: Sized { ... }
}
Expand description
A hashable type.
Types implementing Hash
are able to be hash
ed with an instance of
Hasher
.
§Implementing Hash
You can derive Hash
with #[derive(Hash)]
if all fields implement Hash
.
The resulting hash will be the combination of the values from calling
hash
on each field.
#[derive(Hash)]
struct Rustacean {
name: String,
country: String,
}
If you need more control over how a value is hashed, you can of course
implement the Hash
trait yourself:
use std::hash::{Hash, Hasher};
struct Person {
id: u32,
name: String,
phone: u64,
}
impl Hash for Person {
fn hash<H: Hasher>(&self, state: &mut H) {
self.id.hash(state);
self.phone.hash(state);
}
}
§Hash
and Eq
When implementing both Hash
and Eq
, it is important that the following
property holds:
k1 == k2 -> hash(k1) == hash(k2)
In other words, if two keys are equal, their hashes must also be equal.
HashMap
and HashSet
both rely on this behavior.
Thankfully, you won’t need to worry about upholding this property when
deriving both Eq
and Hash
with #[derive(PartialEq, Eq, Hash)]
.
Violating this property is a logic error. The behavior resulting from a logic error is not
specified, but users of the trait must ensure that such logic errors do not result in
undefined behavior. This means that unsafe
code must not rely on the correctness of these
methods.
§Prefix collisions
Implementations of hash
should ensure that the data they
pass to the Hasher
are prefix-free. That is,
values which are not equal should cause two different sequences of values to be written,
and neither of the two sequences should be a prefix of the other.
For example, the standard implementation of Hash
for &str
passes an extra
0xFF
byte to the Hasher
so that the values ("ab", "c")
and ("a", "bc")
hash differently.
§Portability
Due to differences in endianness and type sizes, data fed by Hash
to a Hasher
should not be considered portable across platforms. Additionally the data passed by most
standard library types should not be considered stable between compiler versions.
This means tests shouldn’t probe hard-coded hash values or data fed to a Hasher
and
instead should check consistency with Eq
.
Serialization formats intended to be portable between platforms or compiler versions should
either avoid encoding hashes or only rely on Hash
and Hasher
implementations that
provide additional guarantees.
Required Methods§
Provided Methods§
1.3.0 · Sourcefn hash_slice<H>(data: &[Self], state: &mut H)
fn hash_slice<H>(data: &[Self], state: &mut H)
Feeds a slice of this type into the given Hasher
.
This method is meant as a convenience, but its implementation is
also explicitly left unspecified. It isn’t guaranteed to be
equivalent to repeated calls of hash
and implementations of
Hash
should keep that in mind and call hash
themselves
if the slice isn’t treated as a whole unit in the PartialEq
implementation.
For example, a VecDeque
implementation might naïvely call
as_slices
and then hash_slice
on each slice, but this
is wrong since the two slices can change with a call to
make_contiguous
without affecting the PartialEq
result. Since these slices aren’t treated as singular
units, and instead part of a larger deque, this method cannot
be used.
§Examples
use std::hash::{DefaultHasher, Hash, Hasher};
let mut hasher = DefaultHasher::new();
let numbers = [6, 28, 496, 8128];
Hash::hash_slice(&numbers, &mut hasher);
println!("Hash is {:x}!", hasher.finish());
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl Hash for ArgMode
impl Hash for Informal
impl Hash for flams_ontology::content::terms::Term
impl Hash for Var
impl Hash for FTMLKey
impl Hash for flams_ontology::languages::Language
impl Hash for ParagraphFormatting
impl Hash for ParagraphKind
impl Hash for CognitiveDimension
impl Hash for SectionLevel
impl Hash for ContentURI
impl Hash for URI
impl Hash for NarrativeURI
impl Hash for TermURI
impl Hash for FileState
impl Hash for CowStr
impl Hash for AsciiChar
impl Hash for flams_router_vscode::server_fn::inventory::core::cmp::Ordering
impl Hash for Infallible
impl Hash for flams_router_vscode::server_fn::inventory::core::net::IpAddr
impl Hash for Ipv6MulticastScope
impl Hash for SocketAddr
impl Hash for IntErrorKind
impl Hash for flams_router_vscode::server_fn::inventory::core::sync::atomic::Ordering
impl Hash for std::io::error::ErrorKind
impl Hash for Colons
impl Hash for Fixed
impl Hash for Numeric
impl Hash for OffsetPrecision
impl Hash for Pad
impl Hash for ParseErrorKind
impl Hash for SecondsFormat
impl Hash for chrono::month::Month
impl Hash for chrono::weekday::Weekday
impl Hash for IpAddrRange
impl Hash for IpNet
impl Hash for IpSubnets
impl Hash for log::Level
impl Hash for log::LevelFilter
impl Hash for serde_json::value::Value
impl Hash for AttrStyle
impl Hash for Meta
impl Hash for syn::data::Fields
impl Hash for syn::derive::Data
impl Hash for Expr
impl Hash for Member
impl Hash for PointerMutability
impl Hash for RangeLimits
impl Hash for CapturedParam
impl Hash for GenericParam
impl Hash for TraitBoundModifier
impl Hash for TypeParamBound
impl Hash for WherePredicate
impl Hash for FnArg
impl Hash for ForeignItem
impl Hash for ImplItem
impl Hash for ImplRestriction
impl Hash for syn::item::Item
impl Hash for StaticMutability
impl Hash for TraitItem
impl Hash for UseTree
impl Hash for Lit
impl Hash for MacroDelimiter
impl Hash for BinOp
impl Hash for UnOp
impl Hash for Pat
impl Hash for GenericArgument
impl Hash for PathArguments
impl Hash for FieldMutability
impl Hash for Visibility
impl Hash for Stmt
impl Hash for ReturnType
impl Hash for syn::ty::Type
impl Hash for Origin
impl Hash for bool
impl Hash for char
impl Hash for i8
impl Hash for i16
impl Hash for i32
impl Hash for i64
impl Hash for i128
impl Hash for isize
impl Hash for !
impl Hash for str
impl Hash for u8
impl Hash for u16
impl Hash for u32
impl Hash for u64
impl Hash for u128
impl Hash for ()
impl Hash for usize
impl Hash for Arg
impl Hash for FileStateSummary
impl Hash for DocumentRange
impl Hash for ArchiveId
impl Hash for ArchiveURI
impl Hash for BaseURI
impl Hash for ModuleURI
impl Hash for SymbolURI
impl Hash for flams_ontology::uris::name::Name
impl Hash for NameStep
impl Hash for DocumentElementURI
impl Hash for DocumentURI
impl Hash for PathURI
impl Hash for SubTermIndex
impl Hash for SubTermURI
impl Hash for ChangeState
impl Hash for FileStates
impl Hash for QueueId
impl Hash for TaskRef
impl Hash for BuildArtifactType
impl Hash for BuildArtifactTypeId
impl Hash for BuildTarget
impl Hash for BuildTargetId
impl Hash for FLAMSExtension
impl Hash for FLAMSExtensionId
impl Hash for SourceFormat
impl Hash for SourceFormatId
impl Hash for Delta
impl Hash for flams_utils::time::Timestamp
impl Hash for AnimationFrameRequestHandle
impl Hash for Dom
impl Hash for ErrorId
impl Hash for IdleCallbackHandle
impl Hash for IntervalHandle
impl Hash for flams_router_vscode::Nonce
impl Hash for TimeoutHandle
impl Hash for HeaderName
impl Hash for HeaderValue
impl Hash for flams_router_vscode::server_fn::axum_export::http::Method
impl Hash for StatusCode
impl Hash for Uri
impl Hash for Version
impl Hash for Authority
Case-insensitive hashing
§Examples
let a: Authority = "HELLO.com".parse().unwrap();
let b: Authority = "hello.coM".parse().unwrap();
let mut s = DefaultHasher::new();
a.hash(&mut s);
let a = s.finish();
let mut s = DefaultHasher::new();
b.hash(&mut s);
let b = s.finish();
assert_eq!(a, b);
impl Hash for PathAndQuery
impl Hash for Scheme
Case-insensitive hashing
impl Hash for BytesMut
impl Hash for NoCustomError
impl Hash for flams_router_vscode::server_fn::Bytes
impl Hash for Layout
impl Hash for TypeId
impl Hash for ByteStr
impl Hash for CStr
impl Hash for flams_router_vscode::server_fn::inventory::core::fmt::Error
impl Hash for PhantomPinned
impl Hash for flams_router_vscode::server_fn::inventory::core::net::Ipv4Addr
impl Hash for flams_router_vscode::server_fn::inventory::core::net::Ipv6Addr
impl Hash for SocketAddrV4
impl Hash for SocketAddrV6
impl Hash for RangeFull
impl Hash for Location<'_>
impl Hash for flams_router_vscode::server_fn::inventory::core::time::Duration
impl Hash for ByteString
impl Hash for CString
impl Hash for String
impl Hash for Alignment
impl Hash for OsStr
impl Hash for OsString
impl Hash for FileType
impl Hash for std::os::unix::net::ucred::UCred
impl Hash for std::path::Path
impl Hash for PathBuf
impl Hash for PrefixComponent<'_>
impl Hash for ThreadId
impl Hash for std::time::Instant
impl Hash for SystemTime
impl Hash for Parsed
impl Hash for InternalFixed
impl Hash for InternalNumeric
impl Hash for OffsetFormat
impl Hash for chrono::format::ParseError
impl Hash for Months
impl Hash for NaiveDate
impl Hash for NaiveDateDaysIterator
impl Hash for NaiveDateWeeksIterator
impl Hash for NaiveDateTime
impl Hash for IsoWeek
impl Hash for Days
impl Hash for NaiveWeek
impl Hash for NaiveTime
impl Hash for FixedOffset
impl Hash for Utc
impl Hash for OutOfRange
impl Hash for TimeDelta
impl Hash for WeekdaySet
impl Hash for FsStats
impl Hash for Oid
impl Hash for AttrCheckFlags
impl Hash for CheckoutNotificationType
impl Hash for CredentialType
impl Hash for DiffFlags
impl Hash for DiffStatsFormat
impl Hash for IndexAddOption
impl Hash for IndexEntryExtendedFlag
impl Hash for IndexEntryFlag
impl Hash for MergeAnalysis
impl Hash for MergePreference
impl Hash for OdbLookupFlags
impl Hash for PathspecFlags
impl Hash for ReferenceFormat
impl Hash for RemoteUpdateFlags
impl Hash for RepositoryInitMode
impl Hash for RepositoryOpenFlags
impl Hash for RevparseMode
impl Hash for Sort
impl Hash for StashApplyFlags
impl Hash for StashFlags
impl Hash for Status
impl Hash for SubmoduleStatus
impl Hash for Ipv4AddrRange
impl Hash for Ipv6AddrRange
impl Hash for Ipv4Net
impl Hash for Ipv4Subnets
impl Hash for Ipv6Net
impl Hash for Ipv6Subnets
impl Hash for Mime
impl Hash for TimeDiff
impl Hash for CMSOptions
impl Hash for Nid
impl Hash for OcspFlag
impl Hash for KeyIvPair
impl Hash for Pkcs7Flags
impl Hash for ExtensionContext
impl Hash for ShutdownState
impl Hash for SslMode
impl Hash for SslOptions
impl Hash for SslSessionCacheMode
impl Hash for SslVerifyMode
impl Hash for X509CheckFlags
impl Hash for X509VerifyFlags
impl Hash for LineColumn
impl Hash for proc_macro2::Ident
impl Hash for Map<String, Value>
impl Hash for Number
impl Hash for DefaultKey
impl Hash for KeyData
impl Hash for syn::attr::Attribute
impl Hash for MetaList
impl Hash for MetaNameValue
impl Hash for syn::data::Field
impl Hash for FieldsNamed
impl Hash for FieldsUnnamed
impl Hash for syn::data::Variant
impl Hash for DataEnum
impl Hash for DataStruct
impl Hash for DataUnion
impl Hash for DeriveInput
impl Hash for Arm
impl Hash for ExprArray
impl Hash for ExprAssign
impl Hash for ExprAsync
impl Hash for ExprAwait
impl Hash for ExprBinary
impl Hash for ExprBlock
impl Hash for ExprBreak
impl Hash for ExprCall
impl Hash for ExprCast
impl Hash for ExprClosure
impl Hash for ExprConst
impl Hash for ExprContinue
impl Hash for ExprField
impl Hash for ExprForLoop
impl Hash for ExprGroup
impl Hash for ExprIf
impl Hash for ExprIndex
impl Hash for ExprInfer
impl Hash for ExprLet
impl Hash for ExprLit
impl Hash for ExprLoop
impl Hash for ExprMacro
impl Hash for ExprMatch
impl Hash for ExprMethodCall
impl Hash for ExprParen
impl Hash for ExprPath
impl Hash for ExprRange
impl Hash for ExprRawAddr
impl Hash for ExprReference
impl Hash for ExprRepeat
impl Hash for ExprReturn
impl Hash for ExprStruct
impl Hash for ExprTry
impl Hash for ExprTryBlock
impl Hash for ExprTuple
impl Hash for ExprUnary
impl Hash for ExprUnsafe
impl Hash for ExprWhile
impl Hash for ExprYield
impl Hash for FieldValue
impl Hash for Index
impl Hash for syn::expr::Label
impl Hash for File
impl Hash for BoundLifetimes
impl Hash for ConstParam
impl Hash for Generics
impl Hash for LifetimeParam
impl Hash for PreciseCapture
impl Hash for PredicateLifetime
impl Hash for PredicateType
impl Hash for TraitBound
impl Hash for TypeParam
impl Hash for WhereClause
impl Hash for ForeignItemFn
impl Hash for ForeignItemMacro
impl Hash for ForeignItemStatic
impl Hash for ForeignItemType
impl Hash for ImplItemConst
impl Hash for ImplItemFn
impl Hash for ImplItemMacro
impl Hash for ImplItemType
impl Hash for ItemConst
impl Hash for ItemEnum
impl Hash for ItemExternCrate
impl Hash for ItemFn
impl Hash for ItemForeignMod
impl Hash for ItemImpl
impl Hash for ItemMacro
impl Hash for ItemMod
impl Hash for ItemStatic
impl Hash for ItemStruct
impl Hash for ItemTrait
impl Hash for ItemTraitAlias
impl Hash for ItemType
impl Hash for ItemUnion
impl Hash for ItemUse
impl Hash for Receiver
impl Hash for Signature
impl Hash for TraitItemConst
impl Hash for TraitItemFn
impl Hash for TraitItemMacro
impl Hash for TraitItemType
impl Hash for UseGlob
impl Hash for UseGroup
impl Hash for UseName
impl Hash for UsePath
impl Hash for UseRename
impl Hash for Variadic
impl Hash for Lifetime
impl Hash for LitBool
impl Hash for LitByte
impl Hash for LitByteStr
impl Hash for LitCStr
impl Hash for LitChar
impl Hash for LitFloat
impl Hash for LitInt
impl Hash for LitStr
impl Hash for syn::mac::Macro
impl Hash for Nothing
impl Hash for FieldPat
impl Hash for PatIdent
impl Hash for PatOr
impl Hash for PatParen
impl Hash for PatReference
impl Hash for PatRest
impl Hash for PatSlice
impl Hash for PatStruct
impl Hash for PatTuple
impl Hash for PatTupleStruct
impl Hash for PatType
impl Hash for PatWild
impl Hash for AngleBracketedGenericArguments
impl Hash for AssocConst
impl Hash for AssocType
impl Hash for Constraint
impl Hash for ParenthesizedGenericArguments
impl Hash for syn::path::Path
impl Hash for PathSegment
impl Hash for QSelf
impl Hash for VisRestricted
impl Hash for Block
impl Hash for Local
impl Hash for LocalInit
impl Hash for StmtMacro
impl Hash for Abstract
impl Hash for And
impl Hash for AndAnd
impl Hash for AndEq
impl Hash for syn::token::As
impl Hash for syn::token::Async
impl Hash for At
impl Hash for Auto
impl Hash for Await
impl Hash for Become
impl Hash for syn::token::Box
impl Hash for Brace
impl Hash for Bracket
impl Hash for Break
impl Hash for Caret
impl Hash for CaretEq
impl Hash for Colon
impl Hash for Comma
impl Hash for Const
impl Hash for Continue
impl Hash for Crate
impl Hash for syn::token::Default
impl Hash for Do
impl Hash for Dollar
impl Hash for Dot
impl Hash for DotDot
impl Hash for DotDotDot
impl Hash for DotDotEq
impl Hash for Dyn
impl Hash for Else
impl Hash for Enum
impl Hash for Eq
impl Hash for EqEq
impl Hash for Extern
impl Hash for FatArrow
impl Hash for Final
impl Hash for Fn
impl Hash for syn::token::For
impl Hash for Ge
impl Hash for syn::token::Group
impl Hash for Gt
impl Hash for If
impl Hash for Impl
impl Hash for In
impl Hash for LArrow
impl Hash for Le
impl Hash for Let
impl Hash for syn::token::Loop
impl Hash for Lt
impl Hash for syn::token::Macro
impl Hash for syn::token::Match
impl Hash for Minus
impl Hash for MinusEq
impl Hash for Mod
impl Hash for Move
impl Hash for Mut
impl Hash for Ne
impl Hash for Not
impl Hash for Or
impl Hash for OrEq
impl Hash for OrOr
impl Hash for Override
impl Hash for Paren
impl Hash for PathSep
impl Hash for Percent
impl Hash for PercentEq
impl Hash for Plus
impl Hash for PlusEq
impl Hash for Pound
impl Hash for Priv
impl Hash for Pub
impl Hash for Question
impl Hash for RArrow
impl Hash for Raw
impl Hash for Ref
impl Hash for Return
impl Hash for SelfType
impl Hash for SelfValue
impl Hash for Semi
impl Hash for Shl
impl Hash for ShlEq
impl Hash for Shr
impl Hash for ShrEq
impl Hash for Slash
impl Hash for SlashEq
impl Hash for Star
impl Hash for StarEq
impl Hash for Static
impl Hash for Struct
impl Hash for Super
impl Hash for Tilde
impl Hash for Trait
impl Hash for Try
impl Hash for syn::token::Type
impl Hash for Typeof
impl Hash for Underscore
impl Hash for Union
impl Hash for Unsafe
impl Hash for Unsized
impl Hash for Use
impl Hash for Virtual
impl Hash for Where
impl Hash for While
impl Hash for Yield
impl Hash for Abi
impl Hash for BareFnArg
impl Hash for BareVariadic
impl Hash for TypeArray
impl Hash for TypeBareFn
impl Hash for TypeGroup
impl Hash for TypeImplTrait
impl Hash for TypeInfer
impl Hash for TypeMacro
impl Hash for TypeNever
impl Hash for TypeParen
impl Hash for TypePath
impl Hash for TypePtr
impl Hash for TypeReference
impl Hash for TypeSlice
impl Hash for TypeTraitObject
impl Hash for TypeTuple
impl Hash for ATerm
impl Hash for B0
impl Hash for B1
impl Hash for Z0
impl Hash for Equal
impl Hash for Greater
impl Hash for Less
impl Hash for UTerm
impl Hash for OpaqueOrigin
impl Hash for Url
URLs hash like their serialization.
impl Hash for uuid::error::Error
impl Hash for Braced
impl Hash for Hyphenated
impl Hash for Simple
impl Hash for Urn
impl Hash for NonNilUuid
impl Hash for Uuid
impl Hash for uuid::timestamp::Timestamp
impl Hash for Abbr
impl Hash for Accent
impl Hash for Accentunder
impl Hash for Accept
impl Hash for AcceptCharset
impl Hash for Access
impl Hash for Access
impl Hash for Accesskey
impl Hash for Action
impl Hash for AddressFamily
impl Hash for Advice
impl Hash for AggregateExpression
impl Hash for AggregateExpression
impl Hash for AggregateFunction
impl Hash for Align
impl Hash for Allow
impl Hash for Allowfullscreen
impl Hash for Allowpaymentrequest
impl Hash for Alt
impl Hash for AnyDelimiterCodec
impl Hash for AnySource
impl Hash for AnySubscriber
impl Hash for ArchivedCString
impl Hash for ArchivedDuration
impl Hash for ArchivedIpAddr
impl Hash for ArchivedIpv4Addr
impl Hash for ArchivedIpv6Addr
impl Hash for ArchivedOptionNonZeroI8
impl Hash for ArchivedOptionNonZeroI16
impl Hash for ArchivedOptionNonZeroI32
impl Hash for ArchivedOptionNonZeroI64
impl Hash for ArchivedOptionNonZeroI128
impl Hash for ArchivedOptionNonZeroU8
impl Hash for ArchivedOptionNonZeroU16
impl Hash for ArchivedOptionNonZeroU32
impl Hash for ArchivedOptionNonZeroU64
impl Hash for ArchivedOptionNonZeroU128
impl Hash for ArchivedSocketAddr
impl Hash for ArchivedSocketAddrV4
impl Hash for ArchivedSocketAddrV6
impl Hash for ArchivedString
impl Hash for AriaActivedescendant
impl Hash for AriaAtomic
impl Hash for AriaAutocomplete
impl Hash for AriaBusy
impl Hash for AriaChecked
impl Hash for AriaColcount
impl Hash for AriaColindex
impl Hash for AriaColspan
impl Hash for AriaControls
impl Hash for AriaCurrent
impl Hash for AriaDescribedby
impl Hash for AriaDescription
impl Hash for AriaDetails
impl Hash for AriaDisabled
impl Hash for AriaDropeffect
impl Hash for AriaErrormessage
impl Hash for AriaExpanded
impl Hash for AriaFlowto
impl Hash for AriaGrabbed
impl Hash for AriaHaspopup
impl Hash for AriaHidden
impl Hash for AriaInvalid
impl Hash for AriaKeyshortcuts
impl Hash for AriaLabel
impl Hash for AriaLabelledby
impl Hash for AriaLive
impl Hash for AriaModal
impl Hash for AriaMultiline
impl Hash for AriaMultiselectable
impl Hash for AriaOrientation
impl Hash for AriaOwns
impl Hash for AriaPlaceholder
impl Hash for AriaPosinset
impl Hash for AriaPressed
impl Hash for AriaReadonly
impl Hash for AriaRelevant
impl Hash for AriaRequired
impl Hash for AriaRoledescription
impl Hash for AriaRowcount
impl Hash for AriaRowindex
impl Hash for AriaRowspan
impl Hash for AriaSelected
impl Hash for AriaSetsize
impl Hash for AriaSort
impl Hash for AriaValuemax
impl Hash for AriaValuemin
impl Hash for AriaValuenow
impl Hash for AriaValuetext
impl Hash for As
impl Hash for AssociatedData
impl Hash for Async
impl Hash for AtFlags
impl Hash for AtFlags
impl Hash for AttrSelectorOperator
impl Hash for AttrValueKind
impl Hash for Attribute
impl Hash for Attributes
impl Hash for Attributionsrc
impl Hash for AuthUrl
impl Hash for Autocapitalize
impl Hash for Autocomplete
impl Hash for Autofocus
impl Hash for Autoplay
impl Hash for BStr
impl Hash for BStr
impl Hash for Background
impl Hash for Base64
impl Hash for Base64Bcrypt
impl Hash for Base64Crypt
impl Hash for Base64ShaCrypt
impl Hash for Base64Unpadded
impl Hash for Base64Url
impl Hash for Base64UrlUnpadded
impl Hash for Bgcolor
impl Hash for BidiClass
impl Hash for BigEndian
impl Hash for BigEndian
impl Hash for BlankNode
impl Hash for Blocking
impl Hash for Blocking
impl Hash for Boolean
impl Hash for Border
impl Hash for BufferFormat
impl Hash for Buffered
impl Hash for Bytes
impl Hash for Bytes
impl Hash for BytesCodec
impl Hash for CanonicalCombiningClass
impl Hash for CanonicalizationAlgorithm
impl Hash for Capture
impl Hash for Cardinality
impl Hash for Case
impl Hash for CaseSensitivity
impl Hash for Challenge
impl Hash for CharULE
impl Hash for Charset
impl Hash for Checked
impl Hash for Cite
impl Hash for ClientId
impl Hash for ClockId
impl Hash for CloseStatus
impl Hash for Code
impl Hash for Color
impl Hash for ColorScheme
impl Hash for Cols
impl Hash for Colspan
impl Hash for ColumnType
impl Hash for Columnalign
impl Hash for Columnlines
impl Hash for Columnspacing
impl Hash for Columnspan
impl Hash for Combinator
impl Hash for ComponentRange
impl Hash for CompressionLevel
impl Hash for CompressionStrategy
impl Hash for Content
impl Hash for Contenteditable
impl Hash for Controls
impl Hash for Controlslist
impl Hash for Coords
impl Hash for CreateFlags
impl Hash for CreateFlags
impl Hash for CreateFlags
impl Hash for Crossorigin
impl Hash for Csp
impl Hash for CurrencyType
impl Hash for Dash
impl Hash for Data
impl Hash for DataFormat
impl Hash for DataLocale
impl Hash for DataMarkerAttributes
impl Hash for DataMarkerId
impl Hash for DataMarkerIdHash
impl Hash for DataMarkerInfo
impl Hash for DatasetFormat
impl Hash for Date
impl Hash for Date
impl Hash for DateTime
impl Hash for DateTime
impl Hash for DateTimePrecision
impl Hash for Datetime
impl Hash for DayTimeDuration
impl Hash for Decimal
impl Hash for Decoding
impl Hash for Default
impl Hash for Defer
impl Hash for Depth
impl Hash for DeviceAuthorizationUrl
impl Hash for Dir
impl Hash for Direction
impl Hash for Direction
impl Hash for Direction
impl Hash for Dirname
impl Hash for Disabled
impl Hash for Disablepictureinpicture
impl Hash for Disableremoteplayback
impl Hash for Display
impl Hash for Displaystyle
impl Hash for DocAddress
impl Hash for DoctypeIdKind
impl Hash for Download
impl Hash for Draggable
impl Hash for DupFlags
impl Hash for DupFlags
impl Hash for Duration
impl Hash for Duration
impl Hash for EastAsianWidth
impl Hash for Elementtiming
impl Hash for Encoding
impl Hash for Encoding
impl Hash for Enctype
impl Hash for EndUserVerificationUrl
impl Hash for Enterkeyhint
impl Hash for Errno
impl Hash for Errno
impl Hash for Error
impl Hash for ErrorKind
impl Hash for ErrorKind
impl Hash for Event
impl Hash for Event
impl Hash for EventData
impl Hash for EventFlags
impl Hash for EventKind
impl Hash for EventfdFlags
impl Hash for Expiration
impl Hash for Exportparts
impl Hash for Expression
impl Hash for Expression
impl Hash for ExpressionTerm
impl Hash for ExpressionTriple
impl Hash for ExtensionType
impl Hash for Extensions
impl Hash for Facet
impl Hash for FallocateFlags
impl Hash for FallocateFlags
impl Hash for FdFlags
impl Hash for FdFlags
impl Hash for Features
impl Hash for Fence
impl Hash for Fetchpriority
impl Hash for Field
impl Hash for Field
impl Hash for Fields
impl Hash for FileFormat
impl Hash for FileTime
impl Hash for FloatingPointEmulationControl
impl Hash for FloatingPointExceptionMode
impl Hash for FontFeatureSubruleType
impl Hash for For
impl Hash for Form
impl Hash for Formaction
impl Hash for Formenctype
impl Hash for Formmethod
impl Hash for Formnovalidate
impl Hash for Formtarget
impl Hash for Frame
impl Hash for Framespacing
impl Hash for Function
impl Hash for GDay
impl Hash for GMonth
impl Hash for GMonthDay
impl Hash for GYear
impl Hash for GYearMonth
impl Hash for GeneralCategory
impl Hash for GeneralCategoryOutOfBoundsError
impl Hash for GenericFontFamily
impl Hash for Gid
impl Hash for Gid
impl Hash for GraphFormat
impl Hash for GraphName
impl Hash for GraphName
impl Hash for GraphNamePattern
impl Hash for GraphPattern
impl Hash for GraphPattern
impl Hash for GraphTarget
impl Hash for GraphUpdateOperation
impl Hash for GraphemeClusterBreak
impl Hash for GridAutoFlow
impl Hash for GroundQuad
impl Hash for GroundQuadPattern
impl Hash for GroundSubject
impl Hash for GroundTerm
impl Hash for GroundTermPattern
impl Hash for GroundTriple
impl Hash for GroundTriplePattern
impl Hash for Group
impl Hash for HalfMatch
impl Hash for Handle
impl Hash for HangulSyllableType
impl Hash for Headers
impl Hash for Height
impl Hash for Hidden
impl Hash for High
impl Hash for Href
impl Hash for Hreflang
impl Hash for HttpDate
impl Hash for HttpEquiv
impl Hash for IFlags
impl Hash for Icon
impl Hash for IconData
impl Hash for Id
impl Hash for Id
impl Hash for Id
impl Hash for Id
impl Hash for Id
impl Hash for Identifier
impl Hash for Imagesizes
impl Hash for Imagesrcset
impl Hash for ImpersonationTokenState
impl Hash for Importance
impl Hash for Index8
impl Hash for Index16
impl Hash for Index32
impl Hash for IndexRecordOption
impl Hash for IndexedValue
impl Hash for IndicSyllabicCategory
impl Hash for Inert
impl Hash for Inputmode
impl Hash for InsertError
impl Hash for Instant
impl Hash for Integer
impl Hash for IntegerRadix
impl Hash for Integrity
impl Hash for IntermediateKey
impl Hash for Intrinsicsize
impl Hash for IntrospectionUrl
impl Hash for IpAddr
impl Hash for Ipv4Addr
impl Hash for Ipv6Addr
impl Hash for IriSpec
impl Hash for Is
impl Hash for Ismap
impl Hash for Itemid
impl Hash for Itemprop
impl Hash for Itemref
impl Hash for Itemscope
impl Hash for Itemtype
impl Hash for JoinAlgorithm
impl Hash for JoiningType
impl Hash for JsonLdProfile
impl Hash for JsonLdProfileSet
impl Hash for Key
impl Hash for Key
impl Hash for Key
impl Hash for KeyId
impl Hash for Keytype
impl Hash for Keywords
impl Hash for Kind
impl Hash for LAttributeValue
impl Hash for LNode
impl Hash for Label
impl Hash for Lang
impl Hash for Language
impl Hash for Language
impl Hash for LanguageIdentifier
impl Hash for LazyStateID
impl Hash for LeftJoinAlgorithm
impl Hash for Level
impl Hash for LevelFilter
impl Hash for LineBreak
impl Hash for LinesCodec
impl Hash for Linethickness
impl Hash for List
impl Hash for Literal
impl Hash for LittleEndian
impl Hash for LittleEndian
impl Hash for Loading
impl Hash for Locale
impl Hash for LocalePreferences
impl Hash for Loop
impl Hash for Low
impl Hash for Lspace
impl Hash for MZError
impl Hash for MZFlush
impl Hash for MZStatus
impl Hash for MacroInvocation
impl Hash for Manifest
impl Hash for Match
impl Hash for Match
impl Hash for Mathbackground
impl Hash for Mathcolor
impl Hash for Mathsize
impl Hash for Mathvariant
impl Hash for Max
impl Hash for Maxlength
impl Hash for Maxsize
impl Hash for Meaning
impl Hash for Media
impl Hash for MemfdFlags
impl Hash for MemfdFlags
impl Hash for Method
impl Hash for Method
impl Hash for Min
impl Hash for Minlength
impl Hash for Minsize
impl Hash for MinusAlgorithm
impl Hash for Mode
impl Hash for Mode
impl Hash for Month
impl Hash for MountFlags
impl Hash for MountPropagationFlags
impl Hash for Movablelimits
impl Hash for Multiple
impl Hash for Muted
impl Hash for N3Quad
impl Hash for N3Term
impl Hash for Name
impl Hash for Name
impl Hash for NamedNode
impl Hash for NamedNodePattern
impl Hash for NamedOrBlankNode
impl Hash for Nomodule
impl Hash for NonMaxUsize
impl Hash for Nonce
impl Hash for Notation
impl Hash for Novalidate
impl Hash for NthSelectorData
impl Hash for NthType
impl Hash for NumberingSystem
impl Hash for NumericalType
impl Hash for OFlags
impl Hash for OFlags
impl Hash for Occur
impl Hash for OffsetDateTime
impl Hash for Onabort
impl Hash for Onautocomplete
impl Hash for Onautocompleteerror
impl Hash for Onblur
impl Hash for Oncancel
impl Hash for Oncanplay
impl Hash for Oncanplaythrough
impl Hash for Onchange
impl Hash for Onclick
impl Hash for Onclose
impl Hash for Oncuechange
impl Hash for Ondblclick
impl Hash for Ondrag
impl Hash for Ondragend
impl Hash for Ondragenter
impl Hash for Ondragleave
impl Hash for Ondragover
impl Hash for Ondragstart
impl Hash for Ondrop
impl Hash for Ondurationchange
impl Hash for Onemptied
impl Hash for Onended
impl Hash for Onerror
impl Hash for Onfocus
impl Hash for Onformdata
impl Hash for Oninput
impl Hash for Oninvalid
impl Hash for Onkeydown
impl Hash for Onkeypress
impl Hash for Onkeyup
impl Hash for Onlanguagechange
impl Hash for Onload
impl Hash for Onloadeddata
impl Hash for Onloadedmetadata
impl Hash for Onloadstart
impl Hash for Onmousedown
impl Hash for Onmouseenter
impl Hash for Onmouseleave
impl Hash for Onmousemove
impl Hash for Onmouseout
impl Hash for Onmouseover
impl Hash for Onmouseup
impl Hash for Onpause
impl Hash for Onplay
impl Hash for Onplaying
impl Hash for Onprogress
impl Hash for Onratechange
impl Hash for Onreset
impl Hash for Onresize
impl Hash for Onscroll
impl Hash for Onsecuritypolicyviolation
impl Hash for Onseeked
impl Hash for Onseeking
impl Hash for Onselect
impl Hash for Onslotchange
impl Hash for Onstalled
impl Hash for Onsubmit
impl Hash for Onsuspend
impl Hash for Ontimeupdate
impl Hash for Ontoggle
impl Hash for Onvolumechange
impl Hash for Onwaiting
impl Hash for Onwebkitanimationend
impl Hash for Onwebkitanimationiteration
impl Hash for Onwebkitanimationstart
impl Hash for Onwebkittransitionend
impl Hash for Onwheel
impl Hash for OpaqueElement
impl Hash for Opcode
impl Hash for Open
impl Hash for Optimum
impl Hash for OptionalParamSegment
impl Hash for OrderExpression
impl Hash for OrderExpression
impl Hash for Other
impl Hash for Output
impl Hash for ParamSegment
impl Hash for ParamsMap
impl Hash for ParseError
impl Hash for ParseError
impl Hash for ParsedCaseSensitivity
impl Hash for Part
impl Hash for Pattern
impl Hash for PatternID
impl Hash for PatternID
impl Hash for PersonalAccessTokenState
impl Hash for Pid
impl Hash for PidfdFlags
impl Hash for PidfdGetfdFlags
impl Hash for Ping
impl Hash for PipeFlags
impl Hash for PkceCodeChallengeMethod
impl Hash for Placeholder
impl Hash for Playsinline
impl Hash for PollFlags
impl Hash for PollNext
impl Hash for Popover
impl Hash for Popovertarget
impl Hash for Popovertargetaction
impl Hash for Poster
impl Hash for PotentialCodePoint
impl Hash for Preload
impl Hash for PrimitiveDateTime
impl Hash for Private
impl Hash for PropertyPathExpression
impl Hash for Protocol
impl Hash for Quad
impl Hash for Quad
impl Hash for QuadPattern
impl Hash for QualName
impl Hash for Query
impl Hash for Query
impl Hash for QueryDataset
impl Hash for QueryDataset
impl Hash for QueryResultsFormat
impl Hash for QuirksMode
impl Hash for QuirksMode
impl Hash for Radiogroup
impl Hash for RawKind
impl Hash for RdfFormat
impl Hash for ReadFlags
impl Hash for ReadFlags
impl Hash for ReadWriteFlags
impl Hash for ReadWriteFlags
impl Hash for Readonly
impl Hash for ReasonPhrase
impl Hash for RecvError
impl Hash for RecvFlags
impl Hash for RecvTimeoutError
impl Hash for RedirectUrl
impl Hash for Referrerpolicy
impl Hash for Region
impl Hash for RegionOverride
impl Hash for RegionalSubdivision
impl Hash for Rel
impl Hash for RenameFlags
impl Hash for RenameFlags
impl Hash for Required
impl Hash for ResolveFlags
impl Hash for ResolveFlags
impl Hash for ResourceOwnerUsername
impl Hash for ResponseType
impl Hash for ReturnFlags
impl Hash for Reversed
impl Hash for RevocationUrl
impl Hash for Role
impl Hash for RouteMatchId
impl Hash for Rowalign
impl Hash for Rowlines
impl Hash for Rows
impl Hash for Rowspacing
impl Hash for Rowspan
impl Hash for Rspace
impl Hash for SameSite
impl Hash for Sandbox
impl Hash for ScalarKind
impl Hash for Scope
impl Hash for Scope
impl Hash for Scoped
impl Hash for Script
impl Hash for Script
impl Hash for ScriptEscapeKind
impl Hash for Scriptlevel
impl Hash for SealFlags
impl Hash for SealFlags
impl Hash for SearcherGeneration
impl Hash for SegmentId
impl Hash for Selected
impl Hash for SendFlags
impl Hash for SentenceBreak
impl Hash for Separator
impl Hash for SerializedDataId
impl Hash for Shape
impl Hash for Shutdown
impl Hash for SigId
impl Hash for SignalKind
impl Hash for Size
impl Hash for Sizes
impl Hash for Slot
impl Hash for SmallCharSet
impl Hash for SmallIndex
impl Hash for SockAddr
impl Hash for SocketAddrAny
impl Hash for SocketAddrNetlink
impl Hash for SocketAddrUnix
impl Hash for SocketAddrXdp
impl Hash for SocketAddrXdpFlags
impl Hash for SocketFlags
impl Hash for SocketType
impl Hash for Span
impl Hash for Span
impl Hash for Span
impl Hash for Span
impl Hash for Span
impl Hash for SpeculationFeatureControl
impl Hash for SpeculationFeatureState
impl Hash for Spellcheck
impl Hash for SpliceFlags
impl Hash for SqliteTypeInfo
impl Hash for Src
impl Hash for Srcdoc
impl Hash for Srclang
impl Hash for Srcset
impl Hash for Start
impl Hash for StatVfsMountFlags
impl Hash for StatVfsMountFlags
impl Hash for State
impl Hash for State
impl Hash for StateID
impl Hash for StateID
impl Hash for StatxAttributes
impl Hash for StatxFlags
impl Hash for StatxFlags
impl Hash for Step
impl Hash for StorePath
impl Hash for StorePathSegment
impl Hash for StreamId
impl Hash for StreamResult
impl Hash for Stretchy
impl Hash for SubdivisionId
impl Hash for SubdivisionSuffix
impl Hash for Subject
impl Hash for Subtag
impl Hash for Subtag
impl Hash for SubtendrilError
impl Hash for Summary
impl Hash for Symmetric
impl Hash for TDEFLFlush
impl Hash for TDEFLStatus
impl Hash for TINFLStatus
impl Hash for Tabindex
impl Hash for TagKind
impl Hash for Target
impl Hash for Term
impl Hash for TermPattern
impl Hash for TextDecorationLine
impl Hash for TextTransformOther
impl Hash for Time
impl Hash for Time
impl Hash for TimeZoneShortId
impl Hash for Timeout
impl Hash for TimerfdClockId
impl Hash for TimerfdFlags
impl Hash for TimerfdTimerFlags
impl Hash for TimezoneOffset
impl Hash for Title
impl Hash for Token
impl Hash for Token
impl Hash for TokenKind
impl Hash for TokenUrl
impl Hash for Transform
impl Hash for Transition
impl Hash for Transition
impl Hash for Translate
impl Hash for Triple
impl Hash for TriplePattern
impl Hash for TryRecvError
impl Hash for Type
impl Hash for Type
impl Hash for UCred
impl Hash for UCred
impl Hash for UStr
impl Hash for Uid
impl Hash for Uid
impl Hash for UnalignedAccessControl
impl Hash for UncheckedAdvice
impl Hash for Unicode
impl Hash for UnicodeRange
impl Hash for UnmountFlags
impl Hash for Update
impl Hash for Update
impl Hash for UriSpec
impl Hash for UriTemplateStr
impl Hash for UriTemplateString
impl Hash for Usemap
impl Hash for UtcDateTime
impl Hash for UtcOffset
impl Hash for Utf8Bytes
impl Hash for Utf8Path
impl Hash for Utf8PathBuf
impl Hash for Value
impl Hash for Value
impl Hash for Value
impl Hash for Variable
impl Hash for Variant
impl Hash for Variants
impl Hash for VendorPrefix
impl Hash for VerticalOrientation
impl Hash for Virtualkeyboardpolicy
impl Hash for Voffset
impl Hash for WaitIdOptions
impl Hash for WaitOptions
impl Hash for WatchFlags
impl Hash for WatchFlags
impl Hash for WebKitScrollbarPseudoClass
impl Hash for WebKitScrollbarPseudoElement
impl Hash for Weekday
impl Hash for Width
impl Hash for WildcardSegment
impl Hash for WordBreak
impl Hash for Wrap
impl Hash for XattrFlags
impl Hash for XattrFlags
impl Hash for XdpDesc
impl Hash for XdpDescOptions
impl Hash for XdpMmapOffsets
impl Hash for XdpOptions
impl Hash for XdpOptionsFlags
impl Hash for XdpRingFlags
impl Hash for XdpRingOffset
impl Hash for XdpStatistics
impl Hash for XdpUmemReg
impl Hash for XdpUmemRegFlags
impl Hash for Xmlns
impl Hash for YearMonthDuration
impl Hash for ZSTD_EndDirective
impl Hash for ZSTD_ErrorCode
impl Hash for ZSTD_FrameType_e
impl Hash for ZSTD_ParamSwitch_e
impl Hash for ZSTD_ResetDirective
impl Hash for ZSTD_SequenceFormat_e
impl Hash for ZSTD_cParameter
impl Hash for ZSTD_dParameter
impl Hash for ZSTD_dictAttachPref_e
impl Hash for ZSTD_dictContentType_e
impl Hash for ZSTD_dictLoadMethod_e
impl Hash for ZSTD_forceIgnoreChecksum_e
impl Hash for ZSTD_format_e
impl Hash for ZSTD_literalCompressionMode_e
impl Hash for ZSTD_nextInputType_e
impl Hash for ZSTD_refMultipleDDicts_e
impl Hash for ZSTD_strategy
impl Hash for _bindgen_ty_1
impl Hash for _bindgen_ty_1
impl Hash for _bindgen_ty_2
impl Hash for _bindgen_ty_2
impl Hash for _bindgen_ty_3
impl Hash for _bindgen_ty_3
impl Hash for _bindgen_ty_4
impl Hash for _bindgen_ty_4
impl Hash for _bindgen_ty_5
impl Hash for _bindgen_ty_5
impl Hash for _bindgen_ty_6
impl Hash for _bindgen_ty_6
impl Hash for _bindgen_ty_7
impl Hash for _bindgen_ty_7
impl Hash for _bindgen_ty_8
impl Hash for _bindgen_ty_8
impl Hash for _bindgen_ty_9
impl Hash for _bindgen_ty_9
impl Hash for _bindgen_ty_10
impl Hash for _bindgen_ty_10
impl Hash for _bindgen_ty_11
impl Hash for _bindgen_ty_12
impl Hash for _bindgen_ty_13
impl Hash for _bindgen_ty_14
impl Hash for _bindgen_ty_15
impl Hash for _bindgen_ty_16
impl Hash for _bindgen_ty_17
impl Hash for _bindgen_ty_18
impl Hash for _bindgen_ty_19
impl Hash for _bindgen_ty_20
impl Hash for _bindgen_ty_21
impl Hash for _bindgen_ty_22
impl Hash for _bindgen_ty_23
impl Hash for _bindgen_ty_24
impl Hash for _bindgen_ty_25
impl Hash for _bindgen_ty_26
impl Hash for _bindgen_ty_27
impl Hash for _bindgen_ty_28
impl Hash for _bindgen_ty_29
impl Hash for _bindgen_ty_30
impl Hash for _bindgen_ty_31
impl Hash for _bindgen_ty_32
impl Hash for _bindgen_ty_33
impl Hash for _bindgen_ty_34
impl Hash for _bindgen_ty_35
impl Hash for _bindgen_ty_36
impl Hash for _bindgen_ty_37
impl Hash for _bindgen_ty_38
impl Hash for _bindgen_ty_39
impl Hash for _bindgen_ty_40
impl Hash for _bindgen_ty_41
impl Hash for _bindgen_ty_42
impl Hash for _bindgen_ty_43
impl Hash for _bindgen_ty_44
impl Hash for _bindgen_ty_45
impl Hash for _bindgen_ty_46
impl Hash for _bindgen_ty_47
impl Hash for _bindgen_ty_48
impl Hash for _bindgen_ty_49
impl Hash for _bindgen_ty_50
impl Hash for _bindgen_ty_51
impl Hash for _bindgen_ty_52
impl Hash for _bindgen_ty_53
impl Hash for _bindgen_ty_54
impl Hash for _bindgen_ty_55
impl Hash for _bindgen_ty_56
impl Hash for _bindgen_ty_57
impl Hash for _bindgen_ty_58
impl Hash for _bindgen_ty_59
impl Hash for _bindgen_ty_60
impl Hash for _bindgen_ty_61
impl Hash for _bindgen_ty_62
impl Hash for _bindgen_ty_63
impl Hash for _bindgen_ty_64
impl Hash for _bindgen_ty_65
impl Hash for _bindgen_ty_66
impl Hash for _bindgen_ty_67
impl Hash for fsconfig_command
impl Hash for fsconfig_command
impl Hash for hwtstamp_flags
impl Hash for hwtstamp_rx_filters
impl Hash for hwtstamp_tx_types
impl Hash for ifla_geneve_df
impl Hash for ifla_gtp_role
impl Hash for ifla_vxlan_df
impl Hash for ifla_vxlan_label_policy
impl Hash for in6_addr_gen_mode
impl Hash for ipvlan_mode
impl Hash for macsec_offload
impl Hash for macsec_validation_type
impl Hash for macvlan_macaddr_mode
impl Hash for macvlan_mode
impl Hash for membarrier_cmd
impl Hash for membarrier_cmd
impl Hash for membarrier_cmd_flag
impl Hash for membarrier_cmd_flag
impl Hash for net_device_flags
impl Hash for netkit_action
impl Hash for netkit_mode
impl Hash for netkit_scrub
impl Hash for netlink_attribute_type
impl Hash for netlink_policy_type_attr
impl Hash for nf_dev_hooks
impl Hash for nf_inet_hooks
impl Hash for nf_ip6_hook_priorities
impl Hash for nf_ip_hook_priorities
impl Hash for nl_mmap_status
impl Hash for nlmsgerr_attrs
impl Hash for procmap_query_flags
impl Hash for rt_class_t
impl Hash for rt_scope_t
impl Hash for rtattr_type_t
impl Hash for rtnetlink_groups
impl Hash for socket_state
impl Hash for tcp_ca_state
impl Hash for tcp_fastopen_client_fail
impl Hash for txtime_flags
impl<'a> Hash for ContentURIRef<'a>
impl<'a> Hash for URIRef<'a>
impl<'a> Hash for NarrativeURIRef<'a>
impl<'a> Hash for TermURIRef<'a>
impl<'a> Hash for std::path::Component<'a>
impl<'a> Hash for std::path::Prefix<'a>
impl<'a> Hash for chrono::format::Item<'a>
impl<'a> Hash for ArchiveURIRef<'a>
impl<'a> Hash for PathURIRef<'a>
impl<'a> Hash for PhantomContravariantLifetime<'a>
impl<'a> Hash for PhantomCovariantLifetime<'a>
impl<'a> Hash for PhantomInvariantLifetime<'a>
impl<'a> Hash for Metadata<'a>
impl<'a> Hash for MetadataBuilder<'a>
impl<'a> Hash for mime::Name<'a>
impl<'a> Hash for ImplGenerics<'a>
impl<'a> Hash for Turbofish<'a>
impl<'a> Hash for TypeGenerics<'a>
impl<'a> Hash for AuthorityComponents<'a>
impl<'a> Hash for BlankNodeRef<'a>
impl<'a> Hash for Codepoint<'a>
impl<'a> Hash for CowArcStr<'a>
impl<'a> Hash for CowRcStr<'a>
impl<'a> Hash for DnsName<'a>
impl<'a> Hash for ExpandedName<'a>
impl<'a> Hash for GraphNameRef<'a>
impl<'a> Hash for Ident<'a>
impl<'a> Hash for JsonEvent<'a>
impl<'a> Hash for LiteralRef<'a>
impl<'a> Hash for LocalName<'a>
impl<'a> Hash for NamedNodeRef<'a>
impl<'a> Hash for NamedOrBlankNodeRef<'a>
impl<'a> Hash for Namespace<'a>
impl<'a> Hash for NonBlocking<'a>
impl<'a> Hash for Prefix<'a>
impl<'a> Hash for PrefixDeclaration<'a>
impl<'a> Hash for QName<'a>
impl<'a> Hash for QuadRef<'a>
impl<'a> Hash for ServerName<'a>
impl<'a> Hash for SubjectRef<'a>
impl<'a> Hash for TermRef<'a>
impl<'a> Hash for Token<'a>
impl<'a> Hash for TokenOrValue<'a>
impl<'a> Hash for TripleRef<'a>
impl<'a> Hash for Utf8Component<'a>
impl<'a> Hash for Utf8Prefix<'a>
impl<'a> Hash for Utf8PrefixComponent<'a>
impl<'a> Hash for Value<'a>
impl<'a> Hash for VarName<'a>
impl<'a> Hash for VariableRef<'a>
impl<'i> Hash for CSSString<'i>
impl<'i> Hash for CustomIdent<'i>
impl<'i> Hash for CustomPropertyName<'i>
impl<'i> Hash for DashedIdent<'i>
impl<'i> Hash for FamilyName<'i>
impl<'i> Hash for FontFamily<'i>
impl<'i> Hash for Ident<'i>
impl<'i> Hash for KeyframesName<'i>
impl<'i> Hash for LayerName<'i>
impl<'i> Hash for PropertyId<'i>
impl<'i> Hash for PseudoClass<'i>
impl<'i> Hash for PseudoElement<'i>
impl<'i> Hash for TokenList<'i>
impl<'i> Hash for ViewTransitionPartName<'i>
impl<'i> Hash for ViewTransitionPartSelector<'i>
impl<'i, Impl> Hash for AttrSelectorWithOptionalNamespace<'i, Impl>
impl<'i, Impl> Hash for Component<'i, Impl>where
Impl: Hash + SelectorImpl<'i>,
<Impl as SelectorImpl<'i>>::NamespaceUrl: Hash,
<Impl as SelectorImpl<'i>>::NamespacePrefix: Hash,
<Impl as SelectorImpl<'i>>::Identifier: Hash,
<Impl as SelectorImpl<'i>>::LocalName: Hash,
<Impl as SelectorImpl<'i>>::AttrValue: Hash,
<Impl as SelectorImpl<'i>>::NonTSPseudoClass: Hash,
<Impl as SelectorImpl<'i>>::VendorPrefix: Hash,
<Impl as SelectorImpl<'i>>::PseudoElement: Hash,
impl<'i, Impl> Hash for LocalName<'i, Impl>
impl<'i, Impl> Hash for NthOfSelectorData<'i, Impl>where
Impl: Hash + SelectorImpl<'i>,
impl<'i, Impl> Hash for Selector<'i, Impl>where
Impl: Hash + SelectorImpl<'i>,
impl<'i, Impl> Hash for SelectorList<'i, Impl>where
Impl: Hash + SelectorImpl<'i>,
impl<'k> Hash for log::kv::key::Key<'k>
impl<'ns> Hash for ResolveResult<'ns>
impl<'r, R> Hash for UnwrapMut<'r, R>
impl<A> Hash for Interned<Arc<A>>where
A: ?Sized,
impl<A> Hash for SmallVec<A>where
A: Array,
<A as Array>::Item: Hash,
impl<A, B> Hash for itertools::either_or_both::EitherOrBoth<A, B>
impl<A, B> Hash for Either<A, B>
impl<A, B> Hash for EitherOrBoth<A, B>
impl<A, B, C> Hash for EitherOf3<A, B, C>
impl<A, B, C, D> Hash for EitherOf4<A, B, C, D>
impl<A, B, C, D, E> Hash for EitherOf5<A, B, C, D, E>
impl<A, B, C, D, E, F> Hash for EitherOf6<A, B, C, D, E, F>
impl<A, B, C, D, E, F, G> Hash for EitherOf7<A, B, C, D, E, F, G>
impl<A, B, C, D, E, F, G, H> Hash for EitherOf8<A, B, C, D, E, F, G, H>
impl<A, B, C, D, E, F, G, H, I> Hash for EitherOf9<A, B, C, D, E, F, G, H, I>
impl<A, B, C, D, E, F, G, H, I, J> Hash for EitherOf10<A, B, C, D, E, F, G, H, I, J>
impl<A, B, C, D, E, F, G, H, I, J, K> Hash for EitherOf11<A, B, C, D, E, F, G, H, I, J, K>
impl<A, B, C, D, E, F, G, H, I, J, K, L> Hash for EitherOf12<A, B, C, D, E, F, G, H, I, J, K, L>
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> Hash for EitherOf13<A, B, C, D, E, F, G, H, I, J, K, L, M>
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> Hash for EitherOf14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> Hash for EitherOf15<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O>
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> Hash for EitherOf16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
impl<AttrValue> Hash for ParsedAttrSelectorOperation<AttrValue>where
AttrValue: Hash,
impl<B> Hash for Cow<'_, B>
impl<B> Hash for Term<B>
impl<B, C> Hash for ControlFlow<B, C>
impl<DataStruct> Hash for ErasedMarker<DataStruct>where
DataStruct: Hash + for<'a> Yokeable<'a>,
impl<Dyn> Hash for core::ptr::metadata::DynMetadata<Dyn>where
Dyn: ?Sized,
impl<Dyn> Hash for DynMetadata<Dyn>where
Dyn: ?Sized,
impl<F> Hash for Fwhere
F: FnPtr,
impl<F, A> Hash for Tendril<F, A>where
F: Format,
A: Atomicity,
impl<H> Hash for HeaderWithLength<H>where
H: Hash,
impl<H, T> Hash for HeaderSlice<H, T>
impl<H, T> Hash for ThinArc<H, T>
impl<I, O> Hash for ArcSubmission<I, O>
impl<I, O, S> Hash for Submission<I, O, S>
impl<Idx> Hash for flams_router_vscode::server_fn::inventory::core::ops::Range<Idx>where
Idx: Hash,
impl<Idx> Hash for flams_router_vscode::server_fn::inventory::core::ops::RangeFrom<Idx>where
Idx: Hash,
impl<Idx> Hash for flams_router_vscode::server_fn::inventory::core::ops::RangeInclusive<Idx>where
Idx: Hash,
impl<Idx> Hash for RangeTo<Idx>where
Idx: Hash,
impl<Idx> Hash for RangeToInclusive<Idx>where
Idx: Hash,
impl<Idx> Hash for flams_router_vscode::server_fn::inventory::core::range::Range<Idx>where
Idx: Hash,
impl<Idx> Hash for flams_router_vscode::server_fn::inventory::core::range::RangeFrom<Idx>where
Idx: Hash,
impl<Idx> Hash for flams_router_vscode::server_fn::inventory::core::range::RangeInclusive<Idx>where
Idx: Hash,
impl<K> Hash for ArchivedBTreeSet<K>where
K: Hash,
impl<K, V> Hash for VecMap<K, V>
impl<K, V> Hash for ArchivedBTreeMap<K, V>
impl<K, V> Hash for Slice<K, V>
impl<K, V, A> Hash for BTreeMap<K, V, A>
impl<K, V, S> Hash for LinkedHashMap<K, V, S>
impl<K, V, S> Hash for LiteMap<K, V, S>
impl<L, R> Hash for either::Either<L, R>
impl<NamespaceUrl> Hash for NamespaceConstraint<NamespaceUrl>where
NamespaceUrl: Hash,
impl<O> Hash for F32<O>where
O: Hash,
impl<O> Hash for F64<O>where
O: Hash,
impl<O> Hash for I16<O>where
O: Hash,
impl<O> Hash for I32<O>where
O: Hash,
impl<O> Hash for I64<O>where
O: Hash,
impl<O> Hash for I128<O>where
O: Hash,
impl<O> Hash for Isize<O>where
O: Hash,
impl<O> Hash for U16<O>where
O: Hash,
impl<O> Hash for U32<O>where
O: Hash,
impl<O> Hash for U64<O>where
O: Hash,
impl<O> Hash for U128<O>where
O: Hash,
impl<O> Hash for Usize<O>where
O: Hash,
impl<P> Hash for Interned<P>where
P: Ptr,
impl<Ptr> Hash for Pin<Ptr>
impl<R> Hash for UnwrapErr<R>where
R: Hash + TryRngCore,
impl<S> Hash for Host<S>where
S: Hash,
impl<S> Hash for Ascii<S>
impl<S> Hash for RiAbsoluteStr<S>where
S: Spec,
impl<S> Hash for RiAbsoluteString<S>where
S: Spec,
impl<S> Hash for RiFragmentStr<S>where
S: Spec,
impl<S> Hash for RiFragmentString<S>where
S: Spec,
impl<S> Hash for RiQueryStr<S>where
S: Spec,
impl<S> Hash for RiQueryString<S>where
S: Spec,
impl<S> Hash for RiReferenceStr<S>where
S: Spec,
impl<S> Hash for RiReferenceString<S>where
S: Spec,
impl<S> Hash for RiRelativeStr<S>where
S: Spec,
impl<S> Hash for RiRelativeString<S>where
S: Spec,
impl<S> Hash for RiStr<S>where
S: Spec,
impl<S> Hash for RiString<S>where
S: Spec,
impl<S> Hash for UniCase<S>
impl<Static> Hash for Atom<Static>where
Static: StaticAtomSet,
impl<Storage> Hash for __BindgenBitfieldUnit<Storage>where
Storage: Hash,
impl<Storage> Hash for __BindgenBitfieldUnit<Storage>where
Storage: Hash,
impl<Storage> Hash for __BindgenBitfieldUnit<Storage>where
Storage: Hash,
impl<Str> Hash for Encoded<Str>where
Str: Hash,
impl<T> Hash for Oco<'_, T>
impl<T> Hash for Bound<T>where
T: Hash,
impl<T> Hash for Option<T>where
T: Hash,
impl<T> Hash for Poll<T>where
T: Hash,
impl<T> Hash for LocalResult<T>where
T: Hash,
impl<T> Hash for *const Twhere
T: ?Sized,
impl<T> Hash for *mut Twhere
T: ?Sized,
impl<T> Hash for &T
impl<T> Hash for &mut T
impl<T> Hash for [T]where
T: Hash,
impl<T> Hash for (T₁, T₂, …, Tₙ)where
T: Hash,
This trait is implemented for tuples up to twelve items long.
impl<T> Hash for ArcReadSignal<T>
impl<T> Hash for ArcRwSignal<T>
impl<T> Hash for ArcStoredValue<T>
impl<T> Hash for ArcWriteSignal<T>
impl<T> Hash for View<T>where
T: Hash,
impl<T> Hash for Reverse<T>where
T: Hash,
impl<T> Hash for PhantomContravariant<T>where
T: ?Sized,
impl<T> Hash for PhantomCovariant<T>where
T: ?Sized,
impl<T> Hash for PhantomData<T>where
T: ?Sized,
impl<T> Hash for PhantomInvariant<T>where
T: ?Sized,
impl<T> Hash for Discriminant<T>
impl<T> Hash for ManuallyDrop<T>
impl<T> Hash for NonZero<T>where
T: ZeroablePrimitive + Hash,
impl<T> Hash for Saturating<T>where
T: Hash,
impl<T> Hash for Wrapping<T>where
T: Hash,
impl<T> Hash for NonNull<T>where
T: ?Sized,
impl<T> Hash for BorrowCompat<T>where
T: Hash,
impl<T> Hash for Compat<T>where
T: Hash,
impl<T> Hash for AllowStdIo<T>where
T: Hash,
impl<T> Hash for Arc<T>
impl<T> Hash for ArchivedBox<T>
impl<T> Hash for ArchivedOption<T>where
T: Hash,
impl<T> Hash for ArchivedOptionBox<T>
impl<T> Hash for ArchivedRange<T>where
T: Hash,
impl<T> Hash for ArchivedRangeFrom<T>where
T: Hash,
impl<T> Hash for ArchivedRangeInclusive<T>where
T: Hash,
impl<T> Hash for ArchivedRangeTo<T>where
T: Hash,
impl<T> Hash for ArchivedRangeToInclusive<T>where
T: Hash,
impl<T> Hash for ArchivedVec<T>where
T: Hash,
impl<T> Hash for Attr<T>where
T: Hash,
impl<T> Hash for BoolOrT<T>where
T: Hash,
impl<T> Hash for CachePadded<T>where
T: Hash,
impl<T> Hash for Constant<T>where
T: Hash,
impl<T> Hash for Iri<T>where
T: Hash,
impl<T> Hash for IriRef<T>where
T: Hash,
impl<T> Hash for Json<T>
impl<T> Hash for LanguageTag<T>where
T: Hash,
impl<T> Hash for RawArchivedVec<T>where
T: Hash,
impl<T> Hash for RuleResult<T>where
T: Hash,
impl<T> Hash for SendOption<T>where
T: Hash,
impl<T> Hash for Slice<T>where
T: Hash,
impl<T> Hash for Spanned<T>where
T: Hash,
impl<T> Hash for StaticSegment<T>where
T: Hash + AsPath,
impl<T> Hash for TryWriteableInfallibleAsWriteable<T>where
T: Hash,
impl<T> Hash for Unalign<T>where
T: Unaligned + Hash,
impl<T> Hash for WriteableAsTryWriteableInfallible<T>where
T: Hash,
impl<T> Hash for __BindgenUnionField<T>
impl<T, A> Hash for alloc::boxed::Box<T, A>
impl<T, A> Hash for BTreeSet<T, A>
impl<T, A> Hash for LinkedList<T, A>
impl<T, A> Hash for VecDeque<T, A>
impl<T, A> Hash for Rc<T, A>
impl<T, A> Hash for UniqueRc<T, A>
impl<T, A> Hash for alloc::sync::Arc<T, A>
impl<T, A> Hash for UniqueArc<T, A>
impl<T, A> Hash for alloc::vec::Vec<T, A>
The hash of a vector is the same as that of the corresponding slice,
as required by the core::borrow::Borrow
implementation.
use std::hash::BuildHasher;
let b = std::hash::RandomState::new();
let v: Vec<u8> = vec![0xa8, 0x3c, 0x09];
let s: &[u8] = &[0xa8, 0x3c, 0x09];
assert_eq!(b.hash_one(v), b.hash_one(s));
impl<T, A> Hash for Box<T, A>
impl<T, A> Hash for Vec<T, A>where
T: Hash,
A: Allocator,
The hash of a vector is the same as that of the corresponding slice,
as required by the core::borrow::Borrow
implementation.
#![feature(build_hasher_simple_hash_one)]
use std::hash::BuildHasher;
let b = std::collections::hash_map::RandomState::new();
let v: Vec<u8> = vec![0xa8, 0x3c, 0x09];
let s: &[u8] = &[0xa8, 0x3c, 0x09];
assert_eq!(b.hash_one(v), b.hash_one(s));
impl<T, E> Hash for Result<T, E>
impl<T, E> Hash for ArchivedResult<T, E>
impl<T, F> Hash for ArchivedRc<T, F>
impl<T, N> Hash for GenericArray<T, N>where
T: Hash,
N: ArrayLength<T>,
impl<T, P> Hash for Punctuated<T, P>
impl<T, S> Hash for ArcMemo<T, S>where
S: Storage<T>,
impl<T, S> Hash for ArenaItem<T, S>
impl<T, S> Hash for Memo<T, S>where
S: Storage<T>,
impl<T, S> Hash for ReadSignal<T, S>
impl<T, S> Hash for RwSignal<T, S>
impl<T, S> Hash for StoredValue<T, S>
impl<T, S> Hash for WriteSignal<T, S>
impl<T, S> Hash for LinkedHashSet<T, S>
impl<T, const N: usize> Hash for [T; N]where
T: Hash,
The hash of an array is the same as that of the corresponding slice,
as required by the Borrow
implementation.
use std::hash::BuildHasher;
let b = std::hash::RandomState::new();
let a: [u8; 3] = [0xa8, 0x3c, 0x09];
let s: &[u8] = &[0xa8, 0x3c, 0x09];
assert_eq!(b.hash_one(a), b.hash_one(s));