pub struct PluginConfigSettingBuilder { /* private fields */ }Implementations§
Source§impl PluginConfigSettingBuilder
impl PluginConfigSettingBuilder
pub fn control_behavior( self, control_behavior: PluginConfigControlBehavior, ) -> Self
pub fn control_numeric(self, numeric: PluginConfigNumericControl) -> Self
pub fn control_numeric_min(self, min: f64) -> Self
pub fn control_numeric_max(self, max: f64) -> Self
pub fn control_numeric_step(self, step: f64) -> Self
pub fn control_numeric_soft_min(self, soft_min: f64) -> Self
pub fn control_numeric_soft_max(self, soft_max: f64) -> Self
pub fn control_numeric_unit(self, unit: impl Into<String>) -> Self
pub fn control_text_format(self, text_format: PluginConfigTextFormat) -> Self
pub fn control_options_source( self, options_source: PluginConfigOptionsSource, ) -> Self
pub fn control_options_static(self) -> Self
pub fn control_options_runtime_gpus(self) -> Self
pub fn control_options_runtime_native_backends(self) -> Self
pub fn control_options_runtime_local_models(self) -> Self
pub fn control_options_runtime_installed_plugins(self) -> Self
pub fn control_options_runtime_mesh_peers(self) -> Self
pub fn control_availability( self, enabled: bool, source: PluginConfigControlAvailabilitySource, ) -> Self
pub fn control_availability_reason(self, reason: impl Into<String>) -> Self
pub fn control_availability_note(self, note: impl Into<String>) -> Self
pub fn control_enable_when( self, condition: PluginConfigControlCondition, ) -> Self
pub fn control_disable_when( self, disable: PluginConfigConditionalDisable, ) -> Self
pub fn control_conflict(self, conflict: PluginConfigConflictRule) -> Self
pub fn control_write_policy( self, policy: PluginConfigDisabledWritePolicy, ) -> Self
Source§impl PluginConfigSettingBuilder
impl PluginConfigSettingBuilder
pub fn required(self, required: bool) -> Self
pub fn default_value<T: Serialize>(self, value: &T) -> Self
pub fn constraint(self, constraint: PluginConfigConstraintManifest) -> Self
pub fn apply_mode(self, apply_mode: PluginConfigApplyMode) -> Self
pub fn restart_scope(self, restart_scope: PluginConfigRestartScope) -> Self
pub fn visibility(self, visibility: PluginConfigVisibility) -> Self
pub fn description(self, description: impl Into<String>) -> Self
pub fn label(self, label: impl Into<String>) -> Self
pub fn help(self, help: impl Into<String>) -> Self
pub fn category( self, id: impl Into<String>, label: impl Into<String>, summary: impl Into<String>, order: u32, ) -> Self
pub fn order(self, order: u32) -> Self
pub fn unit(self, unit: impl Into<String>) -> Self
pub fn placeholder(self, placeholder: impl Into<String>) -> Self
pub fn control_hint(self, control_hint: impl Into<String>) -> Self
pub fn renderer_id(self, renderer_id: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for PluginConfigSettingBuilder
impl Clone for PluginConfigSettingBuilder
Source§fn clone(&self) -> PluginConfigSettingBuilder
fn clone(&self) -> PluginConfigSettingBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PluginConfigSettingBuilder
impl Debug for PluginConfigSettingBuilder
Source§impl From<PluginConfigSettingBuilder> for PluginConfigSettingManifest
impl From<PluginConfigSettingBuilder> for PluginConfigSettingManifest
Source§fn from(value: PluginConfigSettingBuilder) -> Self
fn from(value: PluginConfigSettingBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PluginConfigSettingBuilder
impl RefUnwindSafe for PluginConfigSettingBuilder
impl Send for PluginConfigSettingBuilder
impl Sync for PluginConfigSettingBuilder
impl Unpin for PluginConfigSettingBuilder
impl UnsafeUnpin for PluginConfigSettingBuilder
impl UnwindSafe for PluginConfigSettingBuilder
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