pub struct DataArray<'parent> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl FromDataItem for DataArray<'_>
impl FromDataItem for DataArray<'_>
fn typ() -> DataType
Source§unsafe fn from_item_unchecked(item: *mut obs_data_item_t) -> Self
unsafe fn from_item_unchecked(item: *mut obs_data_item_t) -> Self
Safety Read more
Source§unsafe fn set_default_unchecked(
_obj: *mut obs_data_t,
_name: ObsString,
_val: Self,
)
unsafe fn set_default_unchecked( _obj: *mut obs_data_t, _name: ObsString, _val: Self, )
Safety Read more
Source§impl PtrWrapper for DataArray<'_>
impl PtrWrapper for DataArray<'_>
type Pointer = obs_data_array
Source§unsafe fn from_raw(raw: *mut Self::Pointer) -> Self
unsafe fn from_raw(raw: *mut Self::Pointer) -> Self
Wraps the pointer into a owned wrapper. Read more
Source§fn into_raw(self) -> *mut Self::Pointer
fn into_raw(self) -> *mut Self::Pointer
Consumes the wrapper and transfers ownershop to the pointer Read more
Source§fn as_ptr_mut(&mut self) -> *mut Self::Pointer
fn as_ptr_mut(&mut self) -> *mut Self::Pointer
Returns the inner pointer (mutable version).
Auto Trait Implementations§
impl<'parent> Freeze for DataArray<'parent>
impl<'parent> RefUnwindSafe for DataArray<'parent>
impl<'parent> !Send for DataArray<'parent>
impl<'parent> !Sync for DataArray<'parent>
impl<'parent> Unpin for DataArray<'parent>
impl<'parent> UnwindSafe for DataArray<'parent>
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