pub struct PlaygroundDefinition {
pub id: String,
pub description: String,
pub directory: PathBuf,
pub config_file: PathBuf,
pub playground: PlaygroundConfig,
}Expand description
A resolved playground entry loaded from the playgrounds/ directory.
Fields§
§id: StringStable playground identifier (directory name).
description: StringHuman-readable description from apg.toml.
directory: PathBufPath to the playground directory.
config_file: PathBufPath to this playground’s apg.toml file.
playground: PlaygroundConfigPer-playground runtime config overrides loaded from apg.toml.
Trait Implementations§
Source§impl Clone for PlaygroundDefinition
impl Clone for PlaygroundDefinition
Source§fn clone(&self) -> PlaygroundDefinition
fn clone(&self) -> PlaygroundDefinition
Returns a duplicate 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 PlaygroundDefinition
impl Debug for PlaygroundDefinition
Source§impl PartialEq for PlaygroundDefinition
impl PartialEq for PlaygroundDefinition
impl Eq for PlaygroundDefinition
impl StructuralPartialEq for PlaygroundDefinition
Auto Trait Implementations§
impl Freeze for PlaygroundDefinition
impl RefUnwindSafe for PlaygroundDefinition
impl Send for PlaygroundDefinition
impl Sync for PlaygroundDefinition
impl Unpin for PlaygroundDefinition
impl UnsafeUnpin for PlaygroundDefinition
impl UnwindSafe for PlaygroundDefinition
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