#[repr(C)]pub struct NT_ValueDataArray<T: Copy + Clone + Debug> {
pub arr: *const T,
pub size: usize,
}Expand description
Not included in the original ntcore header file, but required because of rust union limitations.
Fields§
§arr: *const T§size: usizeTrait Implementations§
Source§impl<T: Clone + Copy + Clone + Debug> Clone for NT_ValueDataArray<T>
impl<T: Clone + Copy + Clone + Debug> Clone for NT_ValueDataArray<T>
Source§fn clone(&self) -> NT_ValueDataArray<T>
fn clone(&self) -> NT_ValueDataArray<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<T: Copy + Copy + Clone + Debug> Copy for NT_ValueDataArray<T>
Auto Trait Implementations§
impl<T> Freeze for NT_ValueDataArray<T>
impl<T> RefUnwindSafe for NT_ValueDataArray<T>where
T: RefUnwindSafe,
impl<T> !Send for NT_ValueDataArray<T>
impl<T> !Sync for NT_ValueDataArray<T>
impl<T> Unpin for NT_ValueDataArray<T>
impl<T> UnwindSafe for NT_ValueDataArray<T>where
T: RefUnwindSafe,
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