pub struct GraphicsEffect { /* private fields */ }
Implementations§
Source§impl 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 Freeze for GraphicsEffect
impl RefUnwindSafe for GraphicsEffect
impl !Send for GraphicsEffect
impl !Sync for GraphicsEffect
impl Unpin for GraphicsEffect
impl UnwindSafe for GraphicsEffect
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