Enum hdi::link::examples::SomeLinkTypes
source · pub enum SomeLinkTypes {
SomeLinkType,
SomeOtherLinkType,
}
Expand description
This is an example of declaring your link types.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for SomeLinkTypes
impl Clone for SomeLinkTypes
source§fn clone(&self) -> SomeLinkTypes
fn clone(&self) -> SomeLinkTypes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SomeLinkTypes
impl Debug for SomeLinkTypes
source§impl From<&SomeLinkTypes> for ZomeTypesKey<LinkType>
impl From<&SomeLinkTypes> for ZomeTypesKey<LinkType>
source§fn from(t: &SomeLinkTypes) -> Self
fn from(t: &SomeLinkTypes) -> Self
Converts to this type from the input type.
source§impl From<SomeLinkTypes> for ZomeTypesKey<LinkType>
impl From<SomeLinkTypes> for ZomeTypesKey<LinkType>
source§fn from(t: SomeLinkTypes) -> Self
fn from(t: SomeLinkTypes) -> Self
Converts to this type from the input type.
source§impl LinkTypeFilterExt for SomeLinkTypes
impl LinkTypeFilterExt for SomeLinkTypes
fn try_into_filter(self) -> Result<LinkTypeFilter, WasmError>
source§impl LinkTypesHelper for SomeLinkTypes
impl LinkTypesHelper for SomeLinkTypes
source§impl Ord for SomeLinkTypes
impl Ord for SomeLinkTypes
source§fn cmp(&self, other: &SomeLinkTypes) -> Ordering
fn cmp(&self, other: &SomeLinkTypes) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SomeLinkTypes> for SomeLinkTypes
impl PartialEq<SomeLinkTypes> for SomeLinkTypes
source§fn eq(&self, other: &SomeLinkTypes) -> bool
fn eq(&self, other: &SomeLinkTypes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SomeLinkTypes> for SomeLinkTypes
impl PartialOrd<SomeLinkTypes> for SomeLinkTypes
source§fn partial_cmp(&self, other: &SomeLinkTypes) -> Option<Ordering>
fn partial_cmp(&self, other: &SomeLinkTypes) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<&SomeLinkTypes> for LinkTypeFilter
impl TryFrom<&SomeLinkTypes> for LinkTypeFilter
source§impl TryFrom<&SomeLinkTypes> for ScopedLinkType
impl TryFrom<&SomeLinkTypes> for ScopedLinkType
source§impl TryFrom<ScopedZomeType<LinkType>> for SomeLinkTypes
impl TryFrom<ScopedZomeType<LinkType>> for SomeLinkTypes
source§impl TryFrom<SomeLinkTypes> for LinkTypeFilter
impl TryFrom<SomeLinkTypes> for LinkTypeFilter
source§impl TryFrom<SomeLinkTypes> for ScopedLinkType
impl TryFrom<SomeLinkTypes> for ScopedLinkType
impl Copy for SomeLinkTypes
impl Eq for SomeLinkTypes
impl StructuralEq for SomeLinkTypes
impl StructuralPartialEq for SomeLinkTypes
Auto Trait Implementations§
impl RefUnwindSafe for SomeLinkTypes
impl Send for SomeLinkTypes
impl Sync for SomeLinkTypes
impl Unpin for SomeLinkTypes
impl UnwindSafe for SomeLinkTypes
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§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.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Upcastable for Twhere
T: Any + Send + Sync + 'static,
impl<T> Upcastable for Twhere
T: Any + Send + Sync + 'static,
§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref