pub struct StartupPaths { /* private fields */ }Expand description
Contains the necessary paths for starting the
libobs context built from ObsPath.
Note that these strings are copied when parsed, meaning that these can be freed immediately after all three strings have been used.
Implementations§
Source§impl StartupPaths
impl StartupPaths
pub fn new( libobs_data_path: ObsPath, plugin_bin_path: ObsPath, plugin_data_path: ObsPath, ) -> StartupPaths
pub fn libobs_data_path(&self) -> &ObsString
pub fn plugin_bin_path(&self) -> &ObsString
pub fn plugin_data_path(&self) -> &ObsString
Trait Implementations§
Source§impl Clone for StartupPaths
impl Clone for StartupPaths
Source§impl Debug for StartupPaths
impl Debug for StartupPaths
Auto Trait Implementations§
impl Forget for StartupPaths
impl Freeze for StartupPaths
impl Move for StartupPaths
impl RefUnwindSafe for StartupPaths
impl Send for StartupPaths
impl Sync for StartupPaths
impl Unpin for StartupPaths
impl UnsafeUnpin for StartupPaths
impl UnwindSafe for StartupPathswhere
BoxRaw<[u8]>: UnwindSafe,
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