[][src]Struct structural::field::ownership::FieldBit

pub struct FieldBit(_);

Represents the index for a field in MovedOutFields.

Implementations

impl FieldBit[src]

pub const fn new(index: u8) -> Self[src]

Constructs a FieldBit for the field with its index.

Panics

This panics if index >= 64

This example deliberately fails to compile
use structural::field::FieldBit;

const _: FieldBit = FieldBit::new(64);

Trait Implementations

impl Clone for FieldBit[src]

impl Copy for FieldBit[src]

impl Debug for FieldBit[src]

impl Eq for FieldBit[src]

impl Hash for FieldBit[src]

impl PartialEq<FieldBit> for FieldBit[src]

impl StructuralEq for FieldBit[src]

impl StructuralPartialEq for FieldBit[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<This, T> Array0<T> for This where
    This: ?Sized
[src]

impl<This, V, T> Array0Variant<T, V> for This where
    This: ?Sized
[src]

impl<This, T> ArrayMove0<T> for This where
    This: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<This, T> IntoStructural<T> for This where
    T: FromStructural<This>, 
[src]

impl<T> SelfOps for T where
    T: ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The error type returned when the conversion fails.

impl<This, T> TryIntoStructural<T> for This where
    T: TryFromStructural<This>, 
[src]

type Error = <T as TryFromStructural<This>>::Error

The error parameter of TryFromError, returned from try_into_structural on conversion error. Read more

impl<T> TypeIdentity for T where
    T: ?Sized
[src]

type Type = T

The same type as Self. Read more