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
sourceimpl Clone for PortableForm
impl Clone for PortableForm
sourcefn clone(&self) -> PortableForm
fn clone(&self) -> PortableForm
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PortableForm
impl Debug for PortableForm
sourceimpl Form for PortableForm
impl Form for PortableForm
type Type = UntrackedSymbol<TypeId>
type Type = UntrackedSymbol<TypeId>
The type representing the type.
sourceimpl Ord for PortableForm
impl Ord for PortableForm
sourcefn cmp(&self, other: &PortableForm) -> Ordering
fn cmp(&self, other: &PortableForm) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<PortableForm> for PortableForm
impl PartialEq<PortableForm> for PortableForm
sourcefn eq(&self, other: &PortableForm) -> bool
fn eq(&self, other: &PortableForm) -> bool
sourceimpl PartialOrd<PortableForm> for PortableForm
impl PartialOrd<PortableForm> for PortableForm
sourcefn partial_cmp(&self, other: &PortableForm) -> Option<Ordering>
fn partial_cmp(&self, other: &PortableForm) -> Option<Ordering>
1.0.0 · sourcefn 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 moreimpl Copy for PortableForm
impl Eq for PortableForm
impl StructuralEq for PortableForm
impl StructuralPartialEq for PortableForm
Auto Trait Implementations
impl RefUnwindSafe for PortableForm
impl Send for PortableForm
impl Sync for PortableForm
impl Unpin for PortableForm
impl UnwindSafe for PortableForm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more