pub struct Dim {
pub name: String,
pub role: DimRole,
pub values: Vec<Value>,
}Expand description
One tunable dimension.
Fields§
§name: StringDimension name, matching the params.rs constant it rewrites and
the identifier constraints refer to. [a-z0-9_] only.
role: DimRoleWhether this changes the launch shape or the compiled source.
values: Vec<Value>The values to enumerate, in declaration order, deduplicated at load.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dim
impl RefUnwindSafe for Dim
impl Send for Dim
impl Sync for Dim
impl Unpin for Dim
impl UnsafeUnpin for Dim
impl UnwindSafe for Dim
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