[−][src]Struct scale_info::form::PortableForm
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.
type String
is owned in order to enable decoding
Trait Implementations
impl<S: Clone> Clone for PortableForm<S>
[src]
fn clone(&self) -> PortableForm<S>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S: Copy> Copy for PortableForm<S>
[src]
impl<S: Debug> Debug for PortableForm<S>
[src]
impl<S: Eq> Eq for PortableForm<S>
[src]
impl<S> Form for PortableForm<S> where
S: FormString,
[src]
S: FormString,
impl<S: Ord> Ord for PortableForm<S>
[src]
fn cmp(&self, other: &PortableForm<S>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<S: PartialEq> PartialEq<PortableForm<S>> for PortableForm<S>
[src]
fn eq(&self, other: &PortableForm<S>) -> bool
[src]
fn ne(&self, other: &PortableForm<S>) -> bool
[src]
impl<S: PartialOrd> PartialOrd<PortableForm<S>> for PortableForm<S>
[src]
fn partial_cmp(&self, other: &PortableForm<S>) -> Option<Ordering>
[src]
fn lt(&self, other: &PortableForm<S>) -> bool
[src]
fn le(&self, other: &PortableForm<S>) -> bool
[src]
fn gt(&self, other: &PortableForm<S>) -> bool
[src]
fn ge(&self, other: &PortableForm<S>) -> bool
[src]
impl<S> StructuralEq for PortableForm<S>
[src]
impl<S> StructuralPartialEq for PortableForm<S>
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for PortableForm<S> where
S: RefUnwindSafe,
[src]
S: RefUnwindSafe,
impl<S> Send for PortableForm<S> where
S: Send,
[src]
S: Send,
impl<S> Sync for PortableForm<S> where
S: Sync,
[src]
S: Sync,
impl<S> Unpin for PortableForm<S> where
S: Unpin,
[src]
S: Unpin,
impl<S> UnwindSafe for PortableForm<S> where
S: UnwindSafe,
[src]
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,