[][src]Trait abi_stable::erased_types::InterfaceBound

pub trait InterfaceBound<'borr>: InterfaceType {
type IteratorItem: 'borr;

const TAG: Tag;
const Clone: bool;
const Default: bool;
const Display: bool;
const Debug: bool;
const Serialize: bool;
const PartialEq: bool;
const Ord: bool;
const PartialOrd: bool;
const Hash: bool;
const Iterator: bool;
const DoubleEndedIterator: bool;
const FmtWrite: bool;
const IoWrite: bool;
const IoRead: bool;
const IoBufRead: bool;
const IoSeek: bool;
}

Trait used to capture all the bounds of DynTrait<_>.

Associated Types

type IteratorItem: 'borr

The Item type being iterated over, if Iterator=False this is ().

Loading content...

Associated Constants

const TAG: Tag

Describes which traits are implemented, stored in the layout of the type in StableAbi, using the #[sabi(tag="<I as InterfaceBound<'borr>>::TAG")] attribute

const Clone: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

const Default: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

const Display: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

const Debug: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

const Serialize: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

const PartialEq: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

const Ord: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

const PartialOrd: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

const Hash: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

const Iterator: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

const DoubleEndedIterator: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

const FmtWrite: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

const IoWrite: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

const IoRead: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

const IoBufRead: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

const IoSeek: bool

Used by the StableAbi derive macro to determine whether the field this is associated with is disabled.

Loading content...

Implementors

impl<'borr, I> InterfaceBound<'borr> for I where
    I: InterfaceType,
    I: IteratorItemOrDefault<'borr, <I as InterfaceType>::Iterator>,
    I::Send: Boolean,
    I::Sync: Boolean,
    I::Clone: Boolean,
    I::Default: Boolean,
    I::Display: Boolean,
    I::Debug: Boolean,
    I::Serialize: Boolean,
    I::PartialEq: Boolean,
    I::Ord: Boolean,
    I::PartialOrd: Boolean,
    I::Hash: Boolean,
    I::Iterator: Boolean,
    I::DoubleEndedIterator: Boolean,
    I::FmtWrite: Boolean,
    I::IoWrite: Boolean,
    I::IoRead: Boolean,
    I::IoBufRead: Boolean,
    I::IoSeek: Boolean
[src]

Loading content...