Trait avr_oxide::AsStaticRef

source ·
pub trait AsStaticRef<T>
where T: ?Sized,
{ // Required method unsafe fn as_static_ref(&self) -> &'static T; }

Required Methods§

source

unsafe fn as_static_ref(&self) -> &'static T

Implementations on Foreign Types§

source§

impl<T: ?Sized> AsStaticRef<T> for &'static T

source§

unsafe fn as_static_ref(&self) -> &'static T

Implementors§

source§

impl<'sr, T: ?Sized + 'sr> AsStaticRef<T> for StaticRef<'sr, T>

source§

impl<'sr, T: ?Sized + 'sr> AsStaticRef<T> for StaticRefMut<'sr, T>