Struct ctru_sys::__IncompleteArrayField
source · #[repr(C)]pub struct __IncompleteArrayField<T>(/* private fields */);
Implementations§
source§impl<T> __IncompleteArrayField<T>
impl<T> __IncompleteArrayField<T>
pub const fn new() -> Self
pub fn as_ptr(&self) -> *const T
pub fn as_mut_ptr(&mut self) -> *mut T
pub unsafe fn as_slice(&self, len: usize) -> &[T]
pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T]
Trait Implementations§
source§impl<T> Debug for __IncompleteArrayField<T>
impl<T> Debug for __IncompleteArrayField<T>
source§impl<T: Default> Default for __IncompleteArrayField<T>
impl<T: Default> Default for __IncompleteArrayField<T>
source§fn default() -> __IncompleteArrayField<T>
fn default() -> __IncompleteArrayField<T>
Returns the “default value” for a type. Read more