Struct obs_wrapper::graphics::GraphicsEffect
source · [−]pub struct GraphicsEffect { /* private fields */ }Implementations
sourceimpl GraphicsEffect
impl GraphicsEffect
pub fn from_effect_string(value: ObsString, name: ObsString) -> Option<Self>
pub fn get_effect_param_by_name<T: TryFrom<GraphicsEffectParam>>(
&mut self,
name: ObsString
) -> Option<T>
sourcepub unsafe fn as_ptr(&self) -> *mut gs_effect_t
pub unsafe fn as_ptr(&self) -> *mut gs_effect_t
Safety
Returns a mutable pointer to an effect which if modified could cause UB.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GraphicsEffect
impl !Send for GraphicsEffect
impl !Sync for GraphicsEffect
impl Unpin for GraphicsEffect
impl UnwindSafe for GraphicsEffect
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