pub struct Node {
pub label: String,
pub parent: Option<usize>,
pub children: Vec<usize>,
pub key: Option<String>,
pub state: Option<LeafState>,
pub installed: bool,
pub(super) checked: bool,
}Expand description
One row. Grouping rows carry no package.
Fields§
§label: StringWithout the state suffix, which the UI adds localized.
parent: Option<usize>§children: Vec<usize>§key: Option<String>Leaves only: the package’s game/directory/name.
state: Option<LeafState>Leaves only: where the package stands against the cache.
installed: boolIn this game folder’s ledger, which is independent of the per-user cache.
checked: boolLeaves only; see Tree::check_of for grouping rows.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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