pub enum SettingsNode {
Group {
name: String,
children: Vec<SettingsNode>,
span: Span,
},
Number {
name: String,
value: f64,
span: Span,
},
Bool {
name: String,
value: bool,
span: Span,
},
String {
name: String,
value: String,
span: Span,
},
List {
name: String,
elements: Vec<SettingsListElement>,
span: Span,
},
}Expand description
One member of a settings group.
Variants§
Trait Implementations§
Source§impl Clone for SettingsNode
impl Clone for SettingsNode
Source§fn clone(&self) -> SettingsNode
fn clone(&self) -> SettingsNode
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 moreAuto Trait Implementations§
impl Freeze for SettingsNode
impl RefUnwindSafe for SettingsNode
impl Send for SettingsNode
impl Sync for SettingsNode
impl Unpin for SettingsNode
impl UnsafeUnpin for SettingsNode
impl UnwindSafe for SettingsNode
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