pub struct ConfigurationsPanel;Expand description
The configurations panel: see the module docs.
Trait Implementations§
Source§impl Panel for ConfigurationsPanel
impl Panel for ConfigurationsPanel
Source§const KEY: &'static str = "configurations"
const KEY: &'static str = "configurations"
The panel’s key: what its state is under in
crate::editor::ProgramState::panels, and what its commands name.Source§type State = ConfigurationsState
type State = ConfigurationsState
What it shows.
Source§type Command = ConfigurationsCommand
type Command = ConfigurationsCommand
What it is sent.
Source§fn state(&self, program: &Program, _: &Reader<'_>) -> ConfigurationsState
fn state(&self, program: &Program, _: &Reader<'_>) -> ConfigurationsState
What it shows of
program, the part part reads being what the
program built as far as it runs.Source§fn command(
&self,
ctx: &mut EditorContext<'_>,
command: ConfigurationsCommand,
) -> GeopResult<Changed>
fn command( &self, ctx: &mut EditorContext<'_>, command: ConfigurationsCommand, ) -> GeopResult<Changed>
Does
command, saying what it changed.Source§fn details(&self, state: &Self::State) -> BTreeMap<String, String>
fn details(&self, state: &Self::State) -> BTreeMap<String, String>
What the part’s structure says beside its items, by their names,
from what the panel shows (
state): how free a placed part is.
Nothing, unless it says otherwise.Source§fn after_edit(&self, _ctx: &mut EditorContext<'_>)
fn after_edit(&self, _ctx: &mut EditorContext<'_>)
Told once an edit — after a command changed the program or the step
being edited, once it has run again and settled — never for every
move of the pointer: where a question about the whole of what was
built is asked. Nothing, unless it says otherwise.
Auto Trait Implementations§
impl Freeze for ConfigurationsPanel
impl RefUnwindSafe for ConfigurationsPanel
impl Send for ConfigurationsPanel
impl Sync for ConfigurationsPanel
impl Unpin for ConfigurationsPanel
impl UnsafeUnpin for ConfigurationsPanel
impl UnwindSafe for ConfigurationsPanel
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<P> ErasedPanel for Pwhere
P: Panel,
impl<P> ErasedPanel for Pwhere
P: Panel,
fn key(&self) -> &'static str
Source§fn state(
&self,
program: &Program,
part: &Reader<'_>,
) -> Result<(Value, BTreeMap<String, String>), GeopError>
fn state( &self, program: &Program, part: &Reader<'_>, ) -> Result<(Value, BTreeMap<String, String>), GeopError>
What it shows of
program (see Panel::state), and what the
structure says beside its items from it (see Panel::details).