pub struct TerminatorConfig {
pub step_count: usize,
}Fields§
§step_count: usizeTrait Implementations§
Source§impl Config for TerminatorConfig
impl Config for TerminatorConfig
Source§type Kind = TerminatorConfigParameterKind
type Kind = TerminatorConfigParameterKind
Enum auto-generated by nodo with one variant for each parameter
Source§type Aux = TerminatorConfigAux
type Aux = TerminatorConfigAux
Auxilary type which holds information about when parameters where last modified.
Source§fn list_parameters() -> &'static [(Self::Kind, ParameterProperties)]
fn list_parameters() -> &'static [(Self::Kind, ParameterProperties)]
List all parameters and their properties
Source§fn set_parameter(
&mut self,
kind: Self::Kind,
value: ParameterValue,
) -> Result<(), ConfigSetParameterError>
fn set_parameter( &mut self, kind: Self::Kind, value: ParameterValue, ) -> Result<(), ConfigSetParameterError>
Set a parameter
Source§fn get_parameters(&self) -> Vec<(Self::Kind, ParameterValue)>
fn get_parameters(&self) -> Vec<(Self::Kind, ParameterValue)>
Get values of all parameters
Source§fn set_parameters<I>(&mut self, items: I) -> Result<(), ConfigSetParameterError>
fn set_parameters<I>(&mut self, items: I) -> Result<(), ConfigSetParameterError>
Set multiple parameters
Auto Trait Implementations§
impl Freeze for TerminatorConfig
impl RefUnwindSafe for TerminatorConfig
impl Send for TerminatorConfig
impl Sync for TerminatorConfig
impl Unpin for TerminatorConfig
impl UnwindSafe for TerminatorConfig
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