pub enum ModParamValue {
Bool(bool),
Int(i64),
Str(String),
Array(Vec<ModParamValue>),
}
Expand description
A module parameter value.
Variants§
Bool(bool)
Boolean value.
Int(i64)
Integer value, signed 64-bits.
Str(String)
String value.
Array(Vec<ModParamValue>)
Array of values.
Trait Implementations§
Source§impl Debug for ModParamValue
impl Debug for ModParamValue
Auto Trait Implementations§
impl Freeze for ModParamValue
impl RefUnwindSafe for ModParamValue
impl Send for ModParamValue
impl Sync for ModParamValue
impl Unpin for ModParamValue
impl UnwindSafe for ModParamValue
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