[−][src]Struct scale_info::interner::UntrackedSymbol
A symbol that is not lifetime tracked.
This can be used by self-referential types but can no longer be used to resolve instances.
Implementations
impl<T> UntrackedSymbol<T>
[src]
pub fn id(&self) -> NonZeroU32
[src]
Returns the index to the symbol in the interner table.
Trait Implementations
impl<T: Clone> Clone for UntrackedSymbol<T>
[src]
fn clone(&self) -> UntrackedSymbol<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy> Copy for UntrackedSymbol<T>
[src]
impl<T: Debug> Debug for UntrackedSymbol<T>
[src]
impl<T> Decode for UntrackedSymbol<T>
[src]
fn decode<I: Input>(value: &mut I) -> Result<Self, Error>
[src]
pub fn skip<I>(input: &mut I) -> Result<(), Error> where
I: Input,
[src]
I: Input,
pub fn encoded_fixed_size() -> Option<usize>
[src]
impl<T> Encode for UntrackedSymbol<T>
[src]
fn encode_to<W: Output + ?Sized>(&self, dest: &mut W)
[src]
pub fn size_hint(&self) -> usize
[src]
pub fn encode(&self) -> Vec<u8, Global>ⓘ
[src]
pub fn using_encoded<R, F>(&self, f: F) -> R where
F: FnOnce(&[u8]) -> R,
[src]
F: FnOnce(&[u8]) -> R,
pub fn encoded_size(&self) -> usize
[src]
impl<T: Eq> Eq for UntrackedSymbol<T>
[src]
impl<T: Ord> Ord for UntrackedSymbol<T>
[src]
fn cmp(&self, other: &UntrackedSymbol<T>) -> 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<T: PartialEq> PartialEq<UntrackedSymbol<T>> for UntrackedSymbol<T>
[src]
fn eq(&self, other: &UntrackedSymbol<T>) -> bool
[src]
fn ne(&self, other: &UntrackedSymbol<T>) -> bool
[src]
impl<T: PartialOrd> PartialOrd<UntrackedSymbol<T>> for UntrackedSymbol<T>
[src]
fn partial_cmp(&self, other: &UntrackedSymbol<T>) -> Option<Ordering>
[src]
fn lt(&self, other: &UntrackedSymbol<T>) -> bool
[src]
fn le(&self, other: &UntrackedSymbol<T>) -> bool
[src]
fn gt(&self, other: &UntrackedSymbol<T>) -> bool
[src]
fn ge(&self, other: &UntrackedSymbol<T>) -> bool
[src]
impl<T> StructuralEq for UntrackedSymbol<T>
[src]
impl<T> StructuralPartialEq for UntrackedSymbol<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for UntrackedSymbol<T>
[src]
impl<T> Send for UntrackedSymbol<T>
[src]
impl<T> Sync for UntrackedSymbol<T>
[src]
impl<T> Unpin for UntrackedSymbol<T>
[src]
impl<T> UnwindSafe for UntrackedSymbol<T>
[src]
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<S> Codec for S where
S: Encode + Decode,
[src]
S: Encode + Decode,
impl<T> DecodeAll for T where
T: Decode,
[src]
T: Decode,
impl<T> DecodeLimit for T where
T: Decode,
[src]
T: Decode,
pub fn decode_all_with_depth_limit(limit: u32, input: &[u8]) -> Result<T, Error>
[src]
pub fn decode_with_depth_limit(limit: u32, input: &[u8]) -> Result<T, Error>
[src]
impl<'_, '_, T> EncodeLike<&'_ &'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ mut T> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Arc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Box<T, Global>> for T where
T: Encode,
[src]
T: Encode,
impl<'a, T> EncodeLike<Cow<'a, T>> for T where
T: Encode + ToOwned,
[src]
T: Encode + ToOwned,
impl<T> EncodeLike<Rc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> KeyedVec for T where
T: Codec,
[src]
T: Codec,
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>,