Struct sharedlib::Data [] [src]

pub struct Data<'a, T> where
    T: 'a, 
{ /* fields omitted */ }

A pointer to shared data which uses a bound lifetime to avoid outliving its library.

Methods

impl<'a, T> Data<'a, T>
[src]

Creates a new Data. This should only be called within the library.

Trait Implementations

impl<'a, T: Debug> Debug for Data<'a, T> where
    T: 'a, 
[src]

Formats the value using the given formatter.

impl<'a, T> Symbol<&'a T> for Data<'a, T>
[src]

Provides access to the data that this symbol references. Read more