pub struct EditorState<State: 'static + Send> { /* private fields */ }Expand description
A special wrapper for state that persists between editor opens.
Trait Implementations§
Source§impl<State: 'static + Send> AsMut<State> for EditorState<State>
impl<State: 'static + Send> AsMut<State> for EditorState<State>
Source§fn as_mut(&mut self) -> &mut State
fn as_mut(&mut self) -> &mut State
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl<State: 'static + Send> AsRef<State> for EditorState<State>
impl<State: 'static + Send> AsRef<State> for EditorState<State>
Source§impl<State: 'static + Send> Deref for EditorState<State>
impl<State: 'static + Send> Deref for EditorState<State>
Source§impl<State: 'static + Send> DerefMut for EditorState<State>
impl<State: 'static + Send> DerefMut for EditorState<State>
Source§impl<State: 'static + Send> Drop for EditorState<State>
impl<State: 'static + Send> Drop for EditorState<State>
Auto Trait Implementations§
impl<State> Freeze for EditorState<State>where
State: Freeze,
impl<State> RefUnwindSafe for EditorState<State>where
State: RefUnwindSafe,
impl<State> Send for EditorState<State>
impl<State> Sync for EditorState<State>where
State: Sync,
impl<State> Unpin for EditorState<State>where
State: Unpin,
impl<State> UnsafeUnpin for EditorState<State>where
State: UnsafeUnpin,
impl<State> UnwindSafe for EditorState<State>where
State: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<State, Message> IntoBoot<State, Message> for State
impl<State, Message> IntoBoot<State, Message> for State
Source§fn into_boot(self) -> (State, Task<Message>)
fn into_boot(self) -> (State, Task<Message>)
Turns some type into the initial state of some
Application.