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§fn clone(&self) -> StartupPaths
fn clone(&self) -> StartupPaths
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StartupPaths
impl Debug for StartupPaths
Auto Trait Implementations§
impl Freeze for StartupPaths
impl RefUnwindSafe for StartupPaths
impl Send for StartupPaths
impl Sync for StartupPaths
impl Unpin for StartupPaths
impl UnwindSafe for StartupPaths
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