Static

Trait Static 

Source
pub trait Static<B> {
    // Required method
    fn borrow(&self) -> &B;
}

Required Methods§

Source

fn borrow(&self) -> &B

Implementations on Foreign Types§

Source§

impl<B> Static<B> for &'static B

Source§

fn borrow(&self) -> &B

Source§

impl<B> Static<B> for &'static mut B

Source§

fn borrow(&self) -> &B

Implementors§