Struct enet_sys::__IncompleteArrayField
[−]
[src]
#[repr(C)]pub struct __IncompleteArrayField<T>(_);
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: Default> Default for __IncompleteArrayField<T>
[src]
fn default() -> __IncompleteArrayField<T>
[src]
Returns the "default value" for a type. Read more
impl<T> Debug for __IncompleteArrayField<T>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T> Clone for __IncompleteArrayField<T>
[src]
fn clone(&self) -> Self
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T> Copy for __IncompleteArrayField<T>
[src]
Auto Trait Implementations
impl<T> Send for __IncompleteArrayField<T> where
T: Send,
T: Send,
impl<T> Sync for __IncompleteArrayField<T> where
T: Sync,
T: Sync,