[go: up one dir, main page]

Struct lexical_core::ffi::Tuple[][src]

#[repr(C)]
pub struct Tuple<T: Copy, U: Copy> { pub x: T, pub y: U, }

C-compatible tuple for the partial parsers.

Fields

x: Ty: U

Trait Implementations

impl<T: Clone + Copy, U: Clone + Copy> Clone for Tuple<T, U>[src]

impl<T: Copy, U: Copy> Copy for Tuple<T, U>[src]

impl<T: Copy, U: Copy> From<(T, U)> for Tuple<T, U>[src]

impl<T: Copy, U: Copy> Into<(T, U)> for Tuple<T, U>[src]

Auto Trait Implementations

impl<T, U> RefUnwindSafe for Tuple<T, U> where
    T: RefUnwindSafe,
    U: RefUnwindSafe

impl<T, U> Send for Tuple<T, U> where
    T: Send,
    U: Send

impl<T, U> Sync for Tuple<T, U> where
    T: Sync,
    U: Sync

impl<T, U> Unpin for Tuple<T, U> where
    T: Unpin,
    U: Unpin

impl<T, U> UnwindSafe for Tuple<T, U> where
    T: UnwindSafe,
    U: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?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<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.