SlotIx

Struct SlotIx 

Source
pub struct SlotIx<K> { /* private fields */ }
Expand description

A position the typed accessors read: a Slot of kind K (or Select), or a computed usize.

Trait Implementations§

Source§

impl From<Slot<Binary>> for SlotIx<Binary>

Source§

fn from(slot: Slot<Binary>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Enum>> for SlotIx<Enum>

Source§

fn from(slot: Slot<Enum>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Int>> for SlotIx<Int>

Source§

fn from(slot: Slot<Int>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<List>> for SlotIx<List>

Source§

fn from(slot: Slot<List>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Logical>> for SlotIx<Logical>

Source§

fn from(slot: Slot<Logical>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Real>> for SlotIx<Real>

Source§

fn from(slot: Slot<Real>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Ref>> for SlotIx<Ref>

Source§

fn from(slot: Slot<Ref>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<RefList>> for SlotIx<RefList>

Source§

fn from(slot: Slot<RefList>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Select>> for SlotIx<Binary>

Source§

fn from(slot: Slot<Select>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Select>> for SlotIx<Enum>

Source§

fn from(slot: Slot<Select>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Select>> for SlotIx<Int>

Source§

fn from(slot: Slot<Select>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Select>> for SlotIx<List>

Source§

fn from(slot: Slot<Select>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Select>> for SlotIx<Logical>

Source§

fn from(slot: Slot<Select>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Select>> for SlotIx<Real>

Source§

fn from(slot: Slot<Select>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Select>> for SlotIx<Ref>

Source§

fn from(slot: Slot<Select>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Select>> for SlotIx<RefList>

Source§

fn from(slot: Slot<Select>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Select>> for SlotIx<Select>

Source§

fn from(slot: Slot<Select>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Select>> for SlotIx<Text>

Source§

fn from(slot: Slot<Select>) -> Self

Converts to this type from the input type.
Source§

impl From<Slot<Text>> for SlotIx<Text>

Source§

fn from(slot: Slot<Text>) -> Self

Converts to this type from the input type.
Source§

impl<K> From<usize> for SlotIx<K>

Source§

fn from(index: usize) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<K> Freeze for SlotIx<K>

§

impl<K> RefUnwindSafe for SlotIx<K>

§

impl<K> Send for SlotIx<K>

§

impl<K> Sync for SlotIx<K>

§

impl<K> Unpin for SlotIx<K>

§

impl<K> UnwindSafe for SlotIx<K>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.