Struct savefile::IntrospectedElement 
source · pub struct IntrospectedElement {
    pub key: IntrospectedElementKey,
    pub value: String,
    pub has_children: bool,
    pub selected: bool,
}Expand description
A node in the introspection tree
Fields§
§key: IntrospectedElementKeyIdentifying key
value: StringValue of node
has_children: boolFlag which tells if there are children below this node
selected: boolFlag which tells if this child is selected
Trait Implementations§
source§impl Clone for IntrospectedElement
 
impl Clone for IntrospectedElement
source§fn clone(&self) -> IntrospectedElement
 
fn clone(&self) -> IntrospectedElement
Returns a copy 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 IntrospectedElement
 
impl Debug for IntrospectedElement
source§impl Display for IntrospectedElement
 
impl Display for IntrospectedElement
source§impl PartialEq<IntrospectedElement> for IntrospectedElement
 
impl PartialEq<IntrospectedElement> for IntrospectedElement
source§fn eq(&self, other: &IntrospectedElement) -> bool
 
fn eq(&self, other: &IntrospectedElement) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for IntrospectedElement
impl StructuralEq for IntrospectedElement
impl StructuralPartialEq for IntrospectedElement
Auto Trait Implementations§
impl RefUnwindSafe for IntrospectedElement
impl Send for IntrospectedElement
impl Sync for IntrospectedElement
impl Unpin for IntrospectedElement
impl UnwindSafe for IntrospectedElement
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
source§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.