pub struct __IncompleteArrayField<T>(/* private fields */);Implementations§
Source§impl<T> __IncompleteArrayField<T>
impl<T> __IncompleteArrayField<T>
Source§impl<U> __IncompleteArrayField<U>
impl<U> __IncompleteArrayField<U>
Sourcepub fn as_entry_ptr_mut(ptr: *mut __IncompleteArrayField<U>) -> *mut U
pub fn as_entry_ptr_mut(ptr: *mut __IncompleteArrayField<U>) -> *mut U
Utility for casting __IncompleteArrayField
Sourcepub fn entry_size(_: *const __IncompleteArrayField<U>) -> usize
pub fn entry_size(_: *const __IncompleteArrayField<U>) -> usize
Utility for getting the size of the interior type Note we must use a raw pointer rather than a reference here, because the compiler thinks the field itself may be unaligned due to the struct being packed
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
Auto Trait Implementations§
impl<T> Freeze for __IncompleteArrayField<T>where
T: Freeze,
impl<T> RefUnwindSafe for __IncompleteArrayField<T>where
T: RefUnwindSafe,
impl<T> Send for __IncompleteArrayField<T>where
T: Send,
impl<T> Sync for __IncompleteArrayField<T>where
T: Sync,
impl<T> Unpin for __IncompleteArrayField<T>where
T: Unpin,
impl<T> UnwindSafe for __IncompleteArrayField<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more