pub struct SettingsListElement {
pub value: String,
pub expr: bool,
pub span: Span,
}Expand description
One element of a settings list.
Fields§
§value: StringLiteral text (string content, normalized number) or, when expr is
set, expression source to be evaluated like the pinned settings
evaluator does (#512).
expr: boolvalue is an expression to evaluate, not literal text.
span: SpanTrait Implementations§
Source§impl Clone for SettingsListElement
impl Clone for SettingsListElement
Auto Trait Implementations§
impl Freeze for SettingsListElement
impl RefUnwindSafe for SettingsListElement
impl Send for SettingsListElement
impl Sync for SettingsListElement
impl Unpin for SettingsListElement
impl UnsafeUnpin for SettingsListElement
impl UnwindSafe for SettingsListElement
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