[][src]Struct mynewt::kernel::os::__IncompleteArrayField

#[repr(C)]
pub struct __IncompleteArrayField<T>(PhantomData<T>, [T; 0]);

Methods

impl<T> __IncompleteArrayField<T>[src]

pub fn new() -> Self[src]

pub unsafe fn as_ptr(&self) -> *const T[src]

pub unsafe fn as_mut_ptr(&mut self) -> *mut T[src]

pub unsafe fn as_slice(&self, len: usize) -> &[T][src]

pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T][src]

Trait Implementations

impl<T> Debug for __IncompleteArrayField<T>[src]

impl<T> Clone for __IncompleteArrayField<T>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<T: Default> Default for __IncompleteArrayField<T>[src]

Auto Trait Implementations

impl<T> Send for __IncompleteArrayField<T> where
    T: Send

impl<T> Sync for __IncompleteArrayField<T> where
    T: Sync

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]