Struct static_ref::Static [] [src]

#[repr(C)]
pub struct Static<T: ?Sized> where
    T: , 
{ /* fields omitted */ }

A value stored in a static variable

Methods

impl<T> Static<T>
[src]

Asserts that this value is stored in a static variable

Asserts that the reference r points to data stored in a static variable

Asserts that the reference r points to data stored in a static variable

Wraps a static reference into Static

Wraps a mutable static reference into Static

Trait Implementations

impl<T> Deref for Static<T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<T> DerefMut for Static<T>
[src]

The method called to mutably dereference a value