enum UnionBranchKey {
Named(String),
Primitive(PrimitiveType),
Array,
Map,
}变体§
Trait 实现§
来源§impl Clone for UnionBranchKey
impl Clone for UnionBranchKey
来源§fn clone(&self) -> UnionBranchKey
fn clone(&self) -> UnionBranchKey
返回值的副本。 阅读更多
1.0.0 · 源§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
执行从
source 的复制赋值。 阅读更多来源§impl Debug for UnionBranchKey
impl Debug for UnionBranchKey
来源§impl Hash for UnionBranchKey
impl Hash for UnionBranchKey
来源§impl PartialEq for UnionBranchKey
impl PartialEq for UnionBranchKey
impl Eq for UnionBranchKey
impl StructuralPartialEq for UnionBranchKey
自动 Trait 实现§
impl Freeze for UnionBranchKey
impl RefUnwindSafe for UnionBranchKey
impl Send for UnionBranchKey
impl Sync for UnionBranchKey
impl Unpin for UnionBranchKey
impl UnwindSafe for UnionBranchKey
通用实现§
源§impl<T> CloneToUninit for Twhere T: Clone,
impl<T> CloneToUninit for Twhere T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
将 self 与
key 进行比较,如果它们相等则返回 true。