pub struct WindowEditorProps {
pub metadata: PtrEqRc<SessionMetadata>,
pub initial: Option<WindowSpec>,
pub on_change: Callback<Option<WindowSpec>>,
pub reset_count: u8,
pub presentation: Presentation,
pub session: Session,
pub selected_theme: Option<String>,
}Fields§
§metadata: PtrEqRc<SessionMetadata>§initial: Option<WindowSpec>The saved spec under edit, or None for the “new column” drawer.
on_change: Callback<Option<WindowSpec>>Fires on every form mutation with the draft spec when it validates,
else None. The spec’s name is a placeholder - the editable header
owns naming.
reset_count: u8Incremented by the parent to discard the draft.
presentation: PresentationDrag/drop state - the editor’s column slots are STAGED drop targets
(DragTarget::is_staged): drops mutate the draft only, and the
drag origin never self-removes.
session: SessionThreaded for the slots’ autocomplete dropdown
(ColumnDropDownElement).
selected_theme: Option<String>Selected theme name, threaded for the autocomplete dropdown’s
PortalModal.
Trait Implementations§
Source§impl Clone for WindowEditorProps
impl Clone for WindowEditorProps
Source§fn clone(&self) -> WindowEditorProps
fn clone(&self) -> WindowEditorProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for WindowEditorProps
impl PartialEq for WindowEditorProps
Auto Trait Implementations§
impl !RefUnwindSafe for WindowEditorProps
impl !Send for WindowEditorProps
impl !Sync for WindowEditorProps
impl !UnwindSafe for WindowEditorProps
impl Freeze for WindowEditorProps
impl Unpin for WindowEditorProps
impl UnsafeUnpin for WindowEditorProps
Blanket Implementations§
impl<Token, Builder, How> AllPropsFor<Builder, How> for Tokenwhere
Builder: Buildable<Token>,
<Builder as Buildable<Token>>::WrappedToken: HasAllProps<<Builder as Buildable<Token>>::Output, How>,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> HasAllProps<(), T> for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.