pub struct RezCoreConfig {Show 19 fields
pub use_rust_version: bool,
pub use_rust_solver: bool,
pub use_rust_repository: bool,
pub rust_fallback: bool,
pub thread_count: Option<usize>,
pub cache: CacheConfig,
pub packages_path: Vec<String>,
pub local_packages_path: String,
pub release_packages_path: String,
pub default_shell: String,
pub version: String,
pub plugin_path: Vec<String>,
pub package_cache_path: Vec<String>,
pub tmpdir: String,
pub editor: String,
pub image_viewer: String,
pub browser: String,
pub difftool: String,
pub terminal_emulator_command: String,
}Expand description
Configuration for rez-core components
Fields§
§use_rust_version: boolEnable Rust version system
use_rust_solver: boolEnable Rust solver
use_rust_repository: boolEnable Rust repository system
rust_fallback: boolFallback to Python on Rust errors
thread_count: Option<usize>Number of threads for parallel operations
cache: CacheConfigCache configuration
packages_path: Vec<String>Package search paths
local_packages_path: StringLocal packages path
release_packages_path: StringRelease packages path
default_shell: StringDefault shell
version: StringRez version
plugin_path: Vec<String>Plugin paths
package_cache_path: Vec<String>Package cache paths
tmpdir: StringTemporary directory
editor: StringEditor command
image_viewer: StringImage viewer command
browser: StringBrowser command
difftool: StringDiff program
terminal_emulator_command: StringTerminal type
Implementations§
Source§impl RezCoreConfig
impl RezCoreConfig
Source§impl RezCoreConfig
impl RezCoreConfig
Sourcepub fn get_search_paths() -> Vec<PathBuf>
pub fn get_search_paths() -> Vec<PathBuf>
Get the list of configuration file paths that are searched
Sourcepub fn get_sourced_paths() -> Vec<PathBuf>
pub fn get_sourced_paths() -> Vec<PathBuf>
Get the list of configuration files that actually exist and are sourced
Trait Implementations§
Source§impl Clone for RezCoreConfig
impl Clone for RezCoreConfig
Source§fn clone(&self) -> RezCoreConfig
fn clone(&self) -> RezCoreConfig
Returns a duplicate 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 RezCoreConfig
impl Debug for RezCoreConfig
Source§impl Default for RezCoreConfig
impl Default for RezCoreConfig
Source§impl<'de> Deserialize<'de> for RezCoreConfig
impl<'de> Deserialize<'de> for RezCoreConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RezCoreConfig
impl RefUnwindSafe for RezCoreConfig
impl Send for RezCoreConfig
impl Sync for RezCoreConfig
impl Unpin for RezCoreConfig
impl UnwindSafe for RezCoreConfig
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