pub struct SymbolAssignment {
pub name: String,
pub value: String,
pub provide: bool,
pub hidden: bool,
pub include_if_any: Vec<(String, String)>,
pub include_if_all: Vec<(String, String)>,
pub exclude_if_any: Vec<(String, String)>,
pub exclude_if_all: Vec<(String, String)>,
}Fields§
§name: StringName of the symbol
value: StringValue or expression to assign to this symbol
provide: boolSignals if this assignment should be wrapped in a PROVIDE statement.
Can be used with hidden.
Signals if this assignment should be wrapped in a HIDDEN statement.
Can be used with provide.
include_if_any: Vec<(String, String)>§include_if_all: Vec<(String, String)>§exclude_if_any: Vec<(String, String)>§exclude_if_all: Vec<(String, String)>Trait Implementations§
Source§impl Clone for SymbolAssignment
impl Clone for SymbolAssignment
Source§fn clone(&self) -> SymbolAssignment
fn clone(&self) -> SymbolAssignment
Returns a duplicate of the value. Read more
1.0.0 · 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 SymbolAssignment
impl Debug for SymbolAssignment
Source§impl PartialEq for SymbolAssignment
impl PartialEq for SymbolAssignment
impl StructuralPartialEq for SymbolAssignment
Auto Trait Implementations§
impl Freeze for SymbolAssignment
impl RefUnwindSafe for SymbolAssignment
impl Send for SymbolAssignment
impl Sync for SymbolAssignment
impl Unpin for SymbolAssignment
impl UnwindSafe for SymbolAssignment
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