pub struct Setting {
pub key: Ident,
pub value: Expr,
}Expand description
A single setting key-value pair.
Fields§
§key: IdentSetting name/key.
value: ExprThe value expression assigned to the setting.
Trait Implementations§
Source§impl Ord for Setting
impl Ord for Setting
Source§impl PartialOrd for Setting
impl PartialOrd for Setting
Source§impl VisitMut for Setting
impl VisitMut for Setting
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Eq for Setting
impl StructuralPartialEq for Setting
Auto Trait Implementations§
impl Freeze for Setting
impl RefUnwindSafe for Setting
impl Send for Setting
impl Sync for Setting
impl Unpin for Setting
impl UnsafeUnpin for Setting
impl UnwindSafe for Setting
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