pub struct UnitParam {
pub name: String,
pub min: i16,
pub max: i16,
pub kind: UnitParamKind,
}Expand description
A parameter a user unit declares, in its own values.
Fields§
§name: StringThe parameter’s name, as the unit declares it.
min: i16The smallest value.
max: i16The largest value.
kind: UnitParamKindHow the value reads.
Trait Implementations§
impl Eq for UnitParam
impl StructuralPartialEq for UnitParam
Auto Trait Implementations§
impl Freeze for UnitParam
impl RefUnwindSafe for UnitParam
impl Send for UnitParam
impl Sync for UnitParam
impl Unpin for UnitParam
impl UnsafeUnpin for UnitParam
impl UnwindSafe for UnitParam
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