Struct std::local_data::RefExperimental [-]  [+] [src]

pub struct Ref<T: 'static> {
    // some fields omitted
}

A RAII immutable reference to a task-local value.

The task-local data can be accessed through this value, and when this structure is dropped it will return the borrow on the data.