Struct hapi_rs::session::SessionOptions
source · [−]pub struct SessionOptions {
pub cook_opt: CookOptions,
pub threaded: bool,
pub cleanup: bool,
pub ignore_already_init: bool,
pub env_files: Option<CString>,
pub otl_path: Option<CString>,
pub dso_path: Option<CString>,
pub img_dso_path: Option<CString>,
pub aud_dso_path: Option<CString>,
}
Expand description
Session options used in Session::initialize
Fields
cook_opt: CookOptions
Session cook options
threaded: bool
Create a Threaded server connection
cleanup: bool
Cleanup session upon close
ignore_already_init: bool
Do not error out if session is already initialized
env_files: Option<CString>
otl_path: Option<CString>
dso_path: Option<CString>
img_dso_path: Option<CString>
aud_dso_path: Option<CString>
Implementations
sourceimpl SessionOptions
impl SessionOptions
pub fn set_houdini_env_files<I>(&mut self, files: I) where
I: IntoIterator,
I::Item: AsRef<str>,
pub fn set_otl_search_paths<I>(&mut self, paths: I) where
I: IntoIterator,
I::Item: AsRef<str>,
pub fn set_dso_search_paths<P>(&mut self, paths: P) where
P: IntoIterator,
P::Item: AsRef<str>,
pub fn set_image_search_paths<P>(&mut self, paths: P) where
P: IntoIterator,
P::Item: AsRef<str>,
pub fn set_audio_search_paths<P>(&mut self, paths: P) where
P: IntoIterator,
P::Item: AsRef<str>,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SessionOptions
impl Send for SessionOptions
impl Sync for SessionOptions
impl Unpin for SessionOptions
impl UnwindSafe for SessionOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more