pub struct ListProp<'props, T> { /* private fields */ }Expand description
Wrapper around obs_property_t, which is a list of possible values for a
property.
Implementations§
Trait Implementations§
Source§impl<T> PtrWrapper for ListProp<'_, T>
impl<T> PtrWrapper for ListProp<'_, T>
type Pointer = obs_property
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<'props, T> Freeze for ListProp<'props, T>
impl<'props, T> RefUnwindSafe for ListProp<'props, T>where
T: RefUnwindSafe,
impl<'props, T> !Send for ListProp<'props, T>
impl<'props, T> !Sync for ListProp<'props, T>
impl<'props, T> Unpin for ListProp<'props, T>where
T: Unpin,
impl<'props, T> !UnwindSafe for ListProp<'props, T>
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