Enum scale_info::form::PortableForm
source · pub enum PortableForm {}
Expand description
Portable form that has its lifetime untracked in association to its interner.
Note
This resolves some lifetime issues with self-referential structs (such as the registry itself) but can no longer be used to resolve to the original underlying data.
Trait Implementations§
source§impl Clone for PortableForm
impl Clone for PortableForm
source§fn clone(&self) -> PortableForm
fn clone(&self) -> PortableForm
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 PortableForm
impl Debug for PortableForm
source§impl Form for PortableForm
impl Form for PortableForm
source§impl Ord for PortableForm
impl Ord for PortableForm
source§fn cmp(&self, other: &PortableForm) -> Ordering
fn cmp(&self, other: &PortableForm) -> 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<PortableForm> for PortableForm
impl PartialEq<PortableForm> for PortableForm
source§fn eq(&self, other: &PortableForm) -> bool
fn eq(&self, other: &PortableForm) -> bool
source§impl PartialOrd<PortableForm> for PortableForm
impl PartialOrd<PortableForm> for PortableForm
source§fn partial_cmp(&self, other: &PortableForm) -> Option<Ordering>
fn partial_cmp(&self, other: &PortableForm) -> 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 more