pub struct SetSymbols { /* private fields */ }Expand description
Typed config for the set_symbols transform.
Binds symbolic dimensions to concrete integers (or TDim expressions
via Self::expr).
§Example
ⓘ
model.transform(SetSymbols::new().value("B", 1).value("T", 16))?;Implementations§
Trait Implementations§
Source§impl Clone for SetSymbols
impl Clone for SetSymbols
Source§fn clone(&self) -> SetSymbols
fn clone(&self) -> SetSymbols
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 SetSymbols
impl Debug for SetSymbols
Source§impl Default for SetSymbols
impl Default for SetSymbols
Source§fn default() -> SetSymbols
fn default() -> SetSymbols
Returns the “default value” for a type. Read more
Source§impl From<SetSymbols> for TransformSpec
impl From<SetSymbols> for TransformSpec
Source§fn from(config: SetSymbols) -> Self
fn from(config: SetSymbols) -> Self
Converts to this type from the input type.
Source§impl Serialize for SetSymbols
impl Serialize for SetSymbols
Source§impl TransformConfig for SetSymbols
impl TransformConfig for SetSymbols
Auto Trait Implementations§
impl Freeze for SetSymbols
impl RefUnwindSafe for SetSymbols
impl Send for SetSymbols
impl Sync for SetSymbols
impl Unpin for SetSymbols
impl UnsafeUnpin for SetSymbols
impl UnwindSafe for SetSymbols
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