[][src]Struct binjs_shared::ast::PathItem

pub struct PathItem<I, F> where
    I: Debug,
    F: Debug
{ pub interface: I, pub field: F, }

Fields

interface: Ifield: F

Methods

impl<I, F> PathItem<I, F> where
    I: Debug,
    F: Debug
[src]

pub fn interface(&self) -> &I[src]

pub fn field(&self) -> &F[src]

Trait Implementations

impl<I: Clone, F: Clone> Clone for PathItem<I, F> where
    I: Debug,
    F: Debug
[src]

impl<I: Debug, F: Debug> Debug for PathItem<I, F> where
    I: Debug,
    F: Debug
[src]

impl<'de, I, F> Deserialize<'de> for PathItem<I, F> where
    I: Debug,
    F: Debug,
    I: Deserialize<'de>,
    F: Deserialize<'de>, 
[src]

impl<I: Eq, F: Eq> Eq for PathItem<I, F> where
    I: Debug,
    F: Debug
[src]

impl<I: Hash, F: Hash> Hash for PathItem<I, F> where
    I: Debug,
    F: Debug
[src]

impl<I: PartialEq, F: PartialEq> PartialEq<PathItem<I, F>> for PathItem<I, F> where
    I: Debug,
    F: Debug
[src]

impl<I, F> Serialize for PathItem<I, F> where
    I: Debug,
    F: Debug,
    I: Serialize,
    F: Serialize
[src]

impl<I, F> StructuralEq for PathItem<I, F> where
    I: Debug,
    F: Debug
[src]

impl<I, F> StructuralPartialEq for PathItem<I, F> where
    I: Debug,
    F: Debug
[src]

Auto Trait Implementations

impl<I, F> RefUnwindSafe for PathItem<I, F> where
    F: RefUnwindSafe,
    I: RefUnwindSafe

impl<I, F> Send for PathItem<I, F> where
    F: Send,
    I: Send

impl<I, F> Sync for PathItem<I, F> where
    F: Sync,
    I: Sync

impl<I, F> Unpin for PathItem<I, F> where
    F: Unpin,
    I: Unpin

impl<I, F> UnwindSafe for PathItem<I, F> where
    F: UnwindSafe,
    I: 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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[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.