pub enum EnumLattice {
Powerset {
powerset: Powerset,
},
Taxonomy {
taxonomy: Taxonomy,
},
}Expand description
Enumeration of lattices implemented by default
Variants§
Trait Implementations§
Source§impl Archive for EnumLattice
impl Archive for EnumLattice
Source§impl Clone for EnumLattice
impl Clone for EnumLattice
Source§fn clone(&self) -> EnumLattice
fn clone(&self) -> EnumLattice
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnumLattice
impl Debug for EnumLattice
Source§impl<'de> Deserialize<'de> for EnumLattice
impl<'de> Deserialize<'de> for EnumLattice
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<__D: Fallible + ?Sized> Deserialize<EnumLattice, __D> for Archived<EnumLattice>
impl<__D: Fallible + ?Sized> Deserialize<EnumLattice, __D> for Archived<EnumLattice>
Source§fn deserialize(&self, deserializer: &mut __D) -> Result<EnumLattice, __D::Error>
fn deserialize(&self, deserializer: &mut __D) -> Result<EnumLattice, __D::Error>
Deserializes using the given deserializer
Source§impl HashedTypeDef for EnumLatticewhere
(): HashedTypeDef,
impl HashedTypeDef for EnumLatticewhere
(): HashedTypeDef,
Source§impl IterableLattice for EnumLattice
impl IterableLattice for EnumLattice
Source§type IntoIterUp = IntoIter<u128slx>
type IntoIterUp = IntoIter<u128slx>
Type of iterator for iterating lattice from bottom to top
Source§type IntoIterDown = IntoIter<u128slx>
type IntoIterDown = IntoIter<u128slx>
Type of iterator for iterating lattice from top to bottom
Source§unsafe fn unsafe_bottom_to_top(&self) -> Result<Self::IntoIterUp, String>
unsafe fn unsafe_bottom_to_top(&self) -> Result<Self::IntoIterUp, String>
Unsafe iterator of the full lattice, non decreasing with inference; Read more
Source§unsafe fn unsafe_top_to_bottom(&self) -> Result<Self::IntoIterDown, String>
unsafe fn unsafe_top_to_bottom(&self) -> Result<Self::IntoIterDown, String>
Unsafe iterator of the full lattice, non increasing with inference; Read more
Source§fn bottom_to_top(&self) -> Result<IntoIter<SafeElement<Self::Item>>, String>
fn bottom_to_top(&self) -> Result<IntoIter<SafeElement<Self::Item>>, String>
Safe iterator of the full lattice, non decreasing with inference; Read more
Source§fn top_to_bottom(&self) -> Result<IntoIter<SafeElement<Self::Item>>, String>
fn top_to_bottom(&self) -> Result<IntoIter<SafeElement<Self::Item>>, String>
Safe iterator of the full lattice, non increasing with inference; Read more
Source§impl Lattice for EnumLattice
impl Lattice for EnumLattice
Source§fn rand_element<R: Rng>(&self, rng: &mut R) -> SafeElement<Self::Item>
fn rand_element<R: Rng>(&self, rng: &mut R) -> SafeElement<Self::Item>
Random element generator (for tests); elements are built safe Read more
Source§fn rand_elements<R: Rng, I>(
&self,
len: usize,
rng: &mut R,
) -> I::Type<SafeElement<Self::Item>>where
I: CollectionFamily1,
fn rand_elements<R: Rng, I>(
&self,
len: usize,
rng: &mut R,
) -> I::Type<SafeElement<Self::Item>>where
I: CollectionFamily1,
Elements collection generator (for tests); elements are built safe Read more
Source§fn ref_lattice_hash(&self) -> &u128slx
fn ref_lattice_hash(&self) -> &u128slx
Reference to lattice hash
Source§fn ref_bottom(&self) -> &SafeElement<Self::Item>
fn ref_bottom(&self) -> &SafeElement<Self::Item>
Reference to least element of the lattice Read more
Source§fn ref_top(&self) -> &SafeElement<Self::Item>
fn ref_top(&self) -> &SafeElement<Self::Item>
Reference to greatest element of the lattice Read more
Source§unsafe fn unsafe_meet(
&self,
element_left: &Self::Item,
element_right: &Self::Item,
) -> Self::Item
unsafe fn unsafe_meet( &self, element_left: &Self::Item, element_right: &Self::Item, ) -> Self::Item
Unsafe greatest lower bound Read more
Source§unsafe fn unsafe_join(
&self,
element_left: &Self::Item,
element_right: &Self::Item,
) -> Self::Item
unsafe fn unsafe_join( &self, element_left: &Self::Item, element_right: &Self::Item, ) -> Self::Item
Unsafe least upper bound Read more
Source§fn from_str(&self, s: &str) -> Result<SafeElement<Self::Item>, String>
fn from_str(&self, s: &str) -> Result<SafeElement<Self::Item>, String>
Parse safe element from str Read more
Source§fn to_string(&self, element: &SafeElement<Self::Item>) -> Result<String, String>
fn to_string(&self, element: &SafeElement<Self::Item>) -> Result<String, String>
Format safe element into String Read more
Source§fn lattice_hash(&self) -> u128slx
fn lattice_hash(&self) -> u128slx
Lattice hash Read more
Source§fn is_bottom(
&self,
safe_element: &SafeElement<Self::Item>,
) -> Result<bool, String>
fn is_bottom( &self, safe_element: &SafeElement<Self::Item>, ) -> Result<bool, String>
Is safe element the least element of the lattice? Read more
Source§fn is_top(&self, safe_element: &SafeElement<Self::Item>) -> Result<bool, String>
fn is_top(&self, safe_element: &SafeElement<Self::Item>) -> Result<bool, String>
Is safe element the greatest element of the lattice? Read more
Source§unsafe fn unsafe_is_bottom(&self, element: &Self::Item) -> bool
unsafe fn unsafe_is_bottom(&self, element: &Self::Item) -> bool
Is unsafe element the least element of the lattice? Read more
Source§unsafe fn unsafe_is_top(&self, element: &Self::Item) -> bool
unsafe fn unsafe_is_top(&self, element: &Self::Item) -> bool
Is unsafe element the greatest element of the lattice? Read more
Source§fn meet(
&self,
left: &SafeElement<Self::Item>,
right: &SafeElement<Self::Item>,
) -> Result<SafeElement<Self::Item>, String>
fn meet( &self, left: &SafeElement<Self::Item>, right: &SafeElement<Self::Item>, ) -> Result<SafeElement<Self::Item>, String>
Greatest lower bound Read more
Source§fn meet_some<'a, I>(&self, it: I) -> Result<SafeElement<Self::Item>, String>
fn meet_some<'a, I>(&self, it: I) -> Result<SafeElement<Self::Item>, String>
Greatest lower bound of a collection Read more
Source§fn join(
&self,
left: &SafeElement<Self::Item>,
right: &SafeElement<Self::Item>,
) -> Result<SafeElement<Self::Item>, String>
fn join( &self, left: &SafeElement<Self::Item>, right: &SafeElement<Self::Item>, ) -> Result<SafeElement<Self::Item>, String>
Least upper bound Read more
Source§fn join_some<'a, I>(&self, it: I) -> Result<SafeElement<Self::Item>, String>
fn join_some<'a, I>(&self, it: I) -> Result<SafeElement<Self::Item>, String>
Least upper bound of a collection Read more
Source§fn check_safe<T>(&self, element: T) -> Result<SafeElement<Self::Item>, String>
fn check_safe<T>(&self, element: T) -> Result<SafeElement<Self::Item>, String>
Check if unsafe element is in lattice and then build safe element Read more
Source§fn assignment(&self) -> AssignmentBuilder<Self::Item>
fn assignment(&self) -> AssignmentBuilder<Self::Item>
Init a new assignment builder Read more
Source§fn assignment_with_capacity(
&self,
capacity: usize,
) -> AssignmentBuilder<Self::Item>
fn assignment_with_capacity( &self, capacity: usize, ) -> AssignmentBuilder<Self::Item>
Init a new assignment builder with capacity Read more
Source§fn prunable(
&self,
length_mid: u32,
length_max: u32,
) -> AssignmentBuilder<Self::Item>
fn prunable( &self, length_mid: u32, length_max: u32, ) -> AssignmentBuilder<Self::Item>
Init a new prunable assignment builder Read more
Source§fn prunable_with_capacity(
&self,
length_mid: u32,
length_max: u32,
capacity: usize,
) -> AssignmentBuilder<Self::Item>
fn prunable_with_capacity( &self, length_mid: u32, length_max: u32, capacity: usize, ) -> AssignmentBuilder<Self::Item>
Init a new prunable assignment builder with capacity Read more
Source§unsafe fn unsafe_cover(&self, left: &Self::Item, right: &Self::Item) -> bool
unsafe fn unsafe_cover(&self, left: &Self::Item, right: &Self::Item) -> bool
Unsafe test if left and right cover top, ie. union of left and right is top Read more
Source§unsafe fn unsafe_disjoint(&self, left: &Self::Item, right: &Self::Item) -> bool
unsafe fn unsafe_disjoint(&self, left: &Self::Item, right: &Self::Item) -> bool
Unsafe test if left and right are disjoint Read more
Source§unsafe fn unsafe_implies_join(
&self,
left: &Self::Item,
right: &Self::Item,
) -> bool
unsafe fn unsafe_implies_join( &self, left: &Self::Item, right: &Self::Item, ) -> bool
Unsafe test if left implies (i.e. is contained by) right Read more
Source§unsafe fn unsafe_implied_join(
&self,
left: &Self::Item,
right: &Self::Item,
) -> bool
unsafe fn unsafe_implied_join( &self, left: &Self::Item, right: &Self::Item, ) -> bool
Unsafe test if left is implied by (i.e. contains) right Read more
Source§unsafe fn unsafe_implies_meet(
&self,
left: &Self::Item,
right: &Self::Item,
) -> bool
unsafe fn unsafe_implies_meet( &self, left: &Self::Item, right: &Self::Item, ) -> bool
Unsafe test if left implies (i.e. is contained by) right Read more
Source§unsafe fn unsafe_implied_meet(
&self,
left: &Self::Item,
right: &Self::Item,
) -> bool
unsafe fn unsafe_implied_meet( &self, left: &Self::Item, right: &Self::Item, ) -> bool
Unsafe test if left is implied by (i.e. contains) right Read more
Source§fn cover(
&self,
left: &SafeElement<Self::Item>,
right: &SafeElement<Self::Item>,
) -> Result<bool, String>
fn cover( &self, left: &SafeElement<Self::Item>, right: &SafeElement<Self::Item>, ) -> Result<bool, String>
Test if left and right cover top, ie. union of left and right is top Read more
Source§fn disjoint(
&self,
left: &SafeElement<Self::Item>,
right: &SafeElement<Self::Item>,
) -> Result<bool, String>
fn disjoint( &self, left: &SafeElement<Self::Item>, right: &SafeElement<Self::Item>, ) -> Result<bool, String>
Test if left and right are disjoint Read more
Source§fn implies_join(
&self,
left: &SafeElement<Self::Item>,
right: &SafeElement<Self::Item>,
) -> Result<bool, String>
fn implies_join( &self, left: &SafeElement<Self::Item>, right: &SafeElement<Self::Item>, ) -> Result<bool, String>
Test if left implies (i.e. is contained by) right Read more
Source§fn implied_join(
&self,
left: &SafeElement<Self::Item>,
right: &SafeElement<Self::Item>,
) -> Result<bool, String>
fn implied_join( &self, left: &SafeElement<Self::Item>, right: &SafeElement<Self::Item>, ) -> Result<bool, String>
Test if left is implied by (i.e. contains) right Read more
Source§fn implies_meet(
&self,
left: &SafeElement<Self::Item>,
right: &SafeElement<Self::Item>,
) -> Result<bool, String>
fn implies_meet( &self, left: &SafeElement<Self::Item>, right: &SafeElement<Self::Item>, ) -> Result<bool, String>
Test if left implies (i.e. is contained by) right Read more
Source§fn implied_meet(
&self,
left: &SafeElement<Self::Item>,
right: &SafeElement<Self::Item>,
) -> Result<bool, String>
fn implied_meet( &self, left: &SafeElement<Self::Item>, right: &SafeElement<Self::Item>, ) -> Result<bool, String>
Test if left is implied by (i.e. contains) right Read more
Source§impl LatticeWithLeaves for EnumLattice
impl LatticeWithLeaves for EnumLattice
Source§type IntoIterLeaves = IntoIter<<EnumLattice as Lattice>::Item, f64slx>
type IntoIterLeaves = IntoIter<<EnumLattice as Lattice>::Item, f64slx>
Type of leaves iterator
Source§unsafe fn unsafe_weighted_leaf(
&self,
u: usize,
) -> Result<(&Self::Item, &f64slx), String>
unsafe fn unsafe_weighted_leaf( &self, u: usize, ) -> Result<(&Self::Item, &f64slx), String>
Get unsafe weighted leaf at rank
u Read moreSource§unsafe fn unsafe_leaves(&self) -> Result<Self::IntoIterLeaves, String>
unsafe fn unsafe_leaves(&self) -> Result<Self::IntoIterLeaves, String>
Unsafe iterator of the weighted leaves of the lattice Read more
Source§unsafe fn unsafe_leaf(&self, u: usize) -> Result<&Self::Item, String>
unsafe fn unsafe_leaf(&self, u: usize) -> Result<&Self::Item, String>
Get unsafe leaf at rank
u Read moreSource§fn weighted_leaf(
&self,
u: usize,
) -> Result<(SafeElement<Self::Item>, f64slx), String>
fn weighted_leaf( &self, u: usize, ) -> Result<(SafeElement<Self::Item>, f64slx), String>
Get safe weighted leaf at rank
u Read moreSource§fn leaf(&self, u: usize) -> Result<SafeElement<Self::Item>, String>
fn leaf(&self, u: usize) -> Result<SafeElement<Self::Item>, String>
Get safe leaf at rank
u Read moreSource§fn leaves(&self) -> Result<IntoIter<(SafeElement<Self::Item>, f64slx)>, String>
fn leaves(&self) -> Result<IntoIter<(SafeElement<Self::Item>, f64slx)>, String>
Iterator of the safe weighted leaves of the lattice Read more
Source§fn mass_to_pignistic(
&self,
mass: &Assignment<Self::Item>,
) -> Result<Assignment<Self::Item>, String>
fn mass_to_pignistic( &self, mass: &Assignment<Self::Item>, ) -> Result<Assignment<Self::Item>, String>
Transform mass to pignistic probability Read more
Auto Trait Implementations§
impl Freeze for EnumLattice
impl RefUnwindSafe for EnumLattice
impl Send for EnumLattice
impl Sync for EnumLattice
impl Unpin for EnumLattice
impl UnwindSafe for EnumLattice
Blanket Implementations§
Source§impl<U> ArchSized for Uwhere
U: SlxData + Serialize<CompositeSerializer<AlignedSerializer<AlignedVec>, FallbackScratch<HeapScratch<silx_core::::traits::arch::{impl#0}::{constant#0}>, AllocScratch>, SharedSerializeMap>>,
impl<U> ArchSized for Uwhere
U: SlxData + Serialize<CompositeSerializer<AlignedSerializer<AlignedVec>, FallbackScratch<HeapScratch<silx_core::::traits::arch::{impl#0}::{constant#0}>, AllocScratch>, SharedSerializeMap>>,
Source§type Archivable = U
type Archivable = U
Type of the slx data
Source§fn arch_sized(&self) -> Result<ArchData<<U as ArchSized>::Archivable>, String>
fn arch_sized(&self) -> Result<ArchData<<U as ArchSized>::Archivable>, String>
Build the archive data from a slx data reference Read more
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
Source§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive, it may be unsized. Read moreSource§type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
Source§unsafe fn resolve_metadata(
&self,
_: usize,
_: <T as ArchiveUnsized>::MetadataResolver,
_: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata,
)
unsafe fn resolve_metadata( &self, _: usize, _: <T as ArchiveUnsized>::MetadataResolver, _: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata, )
Creates the archived version of the metadata for this value at the given position and writes
it to the given output. Read more
Source§impl<L> BeliefTransform for L
impl<L> BeliefTransform for L
Source§fn mass_to_commonality(
&self,
mass: &Assignment<Self::Item>,
) -> Result<Assignment<Self::Item>, String>
fn mass_to_commonality( &self, mass: &Assignment<Self::Item>, ) -> Result<Assignment<Self::Item>, String>
Transform mass to commonality Read more
Source§fn mass_from_commonality(
&self,
commonality: &Assignment<Self::Item>,
) -> Result<Assignment<Self::Item>, String>
fn mass_from_commonality( &self, commonality: &Assignment<Self::Item>, ) -> Result<Assignment<Self::Item>, String>
Transform commonality to mass Read more
Source§fn mass_to_implicability(
&self,
mass: &Assignment<Self::Item>,
) -> Result<Assignment<Self::Item>, String>
fn mass_to_implicability( &self, mass: &Assignment<Self::Item>, ) -> Result<Assignment<Self::Item>, String>
Transform mass to implicability Read more
Source§fn mass_from_implicability(
&self,
implicability: &Assignment<Self::Item>,
) -> Result<Assignment<Self::Item>, String>
fn mass_from_implicability( &self, implicability: &Assignment<Self::Item>, ) -> Result<Assignment<Self::Item>, String>
Transform implicability to mass Read more
Source§fn mass_to_credibility(
&self,
mass: &Assignment<Self::Item>,
) -> Result<Assignment<Self::Item>, String>
fn mass_to_credibility( &self, mass: &Assignment<Self::Item>, ) -> Result<Assignment<Self::Item>, String>
Transform mass to credibility Read more
Source§fn mass_from_credibility(
&self,
credibility: &Assignment<Self::Item>,
) -> Result<Assignment<Self::Item>, String>
fn mass_from_credibility( &self, credibility: &Assignment<Self::Item>, ) -> Result<Assignment<Self::Item>, String>
Transform credibility to mass Read more
Source§fn mass_to_plausibility(
&self,
mass: &Assignment<Self::Item>,
) -> Result<Assignment<Self::Item>, String>
fn mass_to_plausibility( &self, mass: &Assignment<Self::Item>, ) -> Result<Assignment<Self::Item>, String>
Transform mass to plausibility Read more
Source§fn implicability_to_credibility(
&self,
implicability: &Assignment<Self::Item>,
) -> Result<Assignment<Self::Item>, String>
fn implicability_to_credibility( &self, implicability: &Assignment<Self::Item>, ) -> Result<Assignment<Self::Item>, String>
Transform implicability to credibility Read more
Source§fn implicability_from_credibility(
&self,
credibility: &Assignment<Self::Item>,
) -> Result<Assignment<Self::Item>, String>
fn implicability_from_credibility( &self, credibility: &Assignment<Self::Item>, ) -> Result<Assignment<Self::Item>, String>
Transform credibility to implicability Read more
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> HashedTypeMethods for T
impl<T> HashedTypeMethods for T
Source§fn type_hash_native<REF>() -> u128where
Self: HashedTypeDef<REF>,
fn type_hash_native<REF>() -> u128where
Self: HashedTypeDef<REF>,
return native type hash
Source§fn type_hash_le<REF>() -> u128where
Self: HashedTypeDef<REF>,
fn type_hash_le<REF>() -> u128where
Self: HashedTypeDef<REF>,
return little endianess type hash
Source§fn type_hash_be<REF>() -> u128where
Self: HashedTypeDef<REF>,
fn type_hash_be<REF>() -> u128where
Self: HashedTypeDef<REF>,
return big endianess type hash
Source§fn type_uuid<REF>() -> Uuidwhere
Self: HashedTypeDef<REF>,
fn type_uuid<REF>() -> Uuidwhere
Self: HashedTypeDef<REF>,
return uuid derived from type hash
Source§fn type_uuid_hyphenated<REF>() -> Stringwhere
Self: HashedTypeDef<REF>,
fn type_uuid_hyphenated<REF>() -> Stringwhere
Self: HashedTypeDef<REF>,
return uuid hyphenated string
Source§fn self_type_hash_native<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
fn self_type_hash_native<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
return native type hash from instance
Source§fn self_type_hash_le<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
fn self_type_hash_le<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
return little endianess type hash from instance
Source§fn self_type_hash_be<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
fn self_type_hash_be<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
return big endianess type hash from instance
Source§fn self_type_uuid<REF>(&self) -> Uuidwhere
Self: HashedTypeDef<REF>,
fn self_type_uuid<REF>(&self) -> Uuidwhere
Self: HashedTypeDef<REF>,
return type hash-derived uuid from instance
Source§fn self_type_uuid_hyphenated<REF>(&self) -> Stringwhere
Self: HashedTypeDef<REF>,
fn self_type_uuid_hyphenated<REF>(&self) -> Stringwhere
Self: HashedTypeDef<REF>,
return uuid hyphenated string from instance
Source§impl<T> HashedTypeUuid for T
impl<T> HashedTypeUuid for T
Source§fn type_hash_native<REF>() -> u128where
Self: HashedTypeDef<REF>,
fn type_hash_native<REF>() -> u128where
Self: HashedTypeDef<REF>,
👎Deprecated since 0.1.2: please use
HashedTypeMethods traitreturn native type hash
Source§fn type_hash_le<REF>() -> u128where
Self: HashedTypeDef<REF>,
fn type_hash_le<REF>() -> u128where
Self: HashedTypeDef<REF>,
👎Deprecated since 0.1.2: please use
HashedTypeMethods traitreturn little endianess type hash
Source§fn type_hash_be<REF>() -> u128where
Self: HashedTypeDef<REF>,
fn type_hash_be<REF>() -> u128where
Self: HashedTypeDef<REF>,
👎Deprecated since 0.1.2: please use
HashedTypeMethods traitreturn big endianess type hash
Source§fn type_uuid<REF>() -> Uuidwhere
Self: HashedTypeDef<REF>,
fn type_uuid<REF>() -> Uuidwhere
Self: HashedTypeDef<REF>,
👎Deprecated since 0.1.2: please use
HashedTypeMethods traitreturn uuid derived from type hash
Source§fn type_uuid_hyphenated<REF>() -> Stringwhere
Self: HashedTypeDef<REF>,
fn type_uuid_hyphenated<REF>() -> Stringwhere
Self: HashedTypeDef<REF>,
👎Deprecated since 0.1.2: please use
HashedTypeMethods traitreturn uuid hyphenated string
Source§fn self_type_hash_native<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
fn self_type_hash_native<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
👎Deprecated since 0.1.2: please use
HashedTypeMethods traitreturn native type hash from instance
Source§fn self_type_hash_le<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
fn self_type_hash_le<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
👎Deprecated since 0.1.2: please use
HashedTypeMethods traitreturn little endianess type hash from instance
Source§fn self_type_hash_be<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
fn self_type_hash_be<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
👎Deprecated since 0.1.2: please use
HashedTypeMethods traitreturn big endianess type hash from instance
Source§fn self_type_uuid<REF>(&self) -> Uuidwhere
Self: HashedTypeDef<REF>,
fn self_type_uuid<REF>(&self) -> Uuidwhere
Self: HashedTypeDef<REF>,
👎Deprecated since 0.1.2: please use
HashedTypeMethods traitreturn type hash-derived uuid from instance
Source§fn self_type_uuid_hyphenated<REF>(&self) -> Stringwhere
Self: HashedTypeDef<REF>,
fn self_type_uuid_hyphenated<REF>(&self) -> Stringwhere
Self: HashedTypeDef<REF>,
👎Deprecated since 0.1.2: please use
HashedTypeMethods traitreturn uuid hyphenated string from instance
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
Source§impl<T, S> SerializeUnsized<S> for T
impl<T, S> SerializeUnsized<S> for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.