Struct obs_wrapper::data::DataArray
source · [−]pub struct DataArray<'parent> { /* private fields */ }Implementations
Trait Implementations
sourceimpl FromDataItem for DataArray<'_>
impl FromDataItem for DataArray<'_>
fn typ() -> DataType
sourceunsafe 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
sourceunsafe 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
sourceimpl PtrWrapper for DataArray<'_>
impl PtrWrapper for DataArray<'_>
type Pointer = obs_data_array
sourceunsafe 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
sourcefn into_raw(self) -> *mut Self::Pointer
fn into_raw(self) -> *mut Self::Pointer
Consumes the wrapper and transfers ownershop to the pointer Read more
sourcefn 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> 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more