pub struct ExampleSet {
pub programs: Vec<Example<Program>>,
pub workspaces: Vec<Example<ExampleFiles>>,
}Expand description
Example programs, and examples made of several files, that an editor
offers to load (crate::editor::Command::LoadExample).
Fields§
§programs: Vec<Example<Program>>§workspaces: Vec<Example<ExampleFiles>>Trait Implementations§
Source§impl Default for ExampleSet
impl Default for ExampleSet
Source§fn default() -> ExampleSet
fn default() -> ExampleSet
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExampleSet
impl RefUnwindSafe for ExampleSet
impl Send for ExampleSet
impl Sync for ExampleSet
impl Unpin for ExampleSet
impl UnsafeUnpin for ExampleSet
impl UnwindSafe for ExampleSet
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