IgnoreName

Trait IgnoreName 

Source
pub trait IgnoreName {
    type Unnamed<'a>
       where Self: 'a;

    // Required method
    fn ignore_name(&self) -> Self::Unnamed<'_>;
}
Expand description

ABI entity wrapper.

Required Associated Types§

Source

type Unnamed<'a> where Self: 'a

Wrapped ABI entity.

Required Methods§

Source

fn ignore_name(&self) -> Self::Unnamed<'_>

Wraps an ABI entity into WithoutName.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl IgnoreName for [AbiType]

Source§

type Unnamed<'a> = &'a [WithoutName<AbiType>]

Source§

fn ignore_name(&self) -> Self::Unnamed<'_>

Source§

impl IgnoreName for [AbiValue]

Source§

type Unnamed<'a> = &'a [WithoutName<AbiValue>]

Source§

fn ignore_name(&self) -> Self::Unnamed<'_>

Source§

impl IgnoreName for [NamedAbiType]

Source§

type Unnamed<'a> = &'a [WithoutName<NamedAbiType>]

Source§

fn ignore_name(&self) -> Self::Unnamed<'_>

Source§

impl IgnoreName for [NamedAbiValue]

Source§

type Unnamed<'a> = &'a [WithoutName<NamedAbiValue>]

Source§

fn ignore_name(&self) -> Self::Unnamed<'_>

Source§

impl<T> IgnoreName for Vec<T>
where [T]: IgnoreName,

Source§

type Unnamed<'a> = <[T] as IgnoreName>::Unnamed<'a> where Self: 'a

Source§

fn ignore_name(&self) -> Self::Unnamed<'_>

Source§

impl<T: IgnoreName> IgnoreName for Option<T>

Source§

type Unnamed<'a> = Option<<T as IgnoreName>::Unnamed<'a>> where Self: 'a

Source§

fn ignore_name(&self) -> Self::Unnamed<'_>

Source§

impl<T: IgnoreName> IgnoreName for &T

Source§

type Unnamed<'a> = <T as IgnoreName>::Unnamed<'a> where Self: 'a

Source§

fn ignore_name(&self) -> Self::Unnamed<'_>

Source§

impl<T: IgnoreName> IgnoreName for Box<T>

Source§

type Unnamed<'a> = <T as IgnoreName>::Unnamed<'a> where Self: 'a

Source§

fn ignore_name(&self) -> Self::Unnamed<'_>

Source§

impl<T: IgnoreName> IgnoreName for Rc<T>

Source§

type Unnamed<'a> = <T as IgnoreName>::Unnamed<'a> where Self: 'a

Source§

fn ignore_name(&self) -> Self::Unnamed<'_>

Source§

impl<T: IgnoreName> IgnoreName for Arc<T>

Source§

type Unnamed<'a> = <T as IgnoreName>::Unnamed<'a> where Self: 'a

Source§

fn ignore_name(&self) -> Self::Unnamed<'_>

Implementors§