[][src]Struct swipc_parser::Ctx

pub struct Ctx {
    pub types: HashMap<String, TypeDef>,
    pub interfaces: HashMap<String, Interface>,
}

The context returned by a successful parse. Contains convenient hashmaps to access types and interfaces from their fully qualified name.

Fields

types: HashMap<String, TypeDef>interfaces: HashMap<String, Interface>

Trait Implementations

impl Debug for Ctx[src]

Auto Trait Implementations

impl RefUnwindSafe for Ctx

impl Send for Ctx

impl Sync for Ctx

impl Unpin for Ctx

impl UnwindSafe for Ctx

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, 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.