pub struct EditorContext {
pub state: SharedEditorState,
pub undo: SharedCommandStack<EditorState>,
pub project: SharedProjectDoc,
pub world: SharedWorld,
pub registry: SharedRegistry,
pub vfx: SharedVfxDoc,
pub workspace: Arc<Workspace>,
pub capabilities: CapabilityRegistry,
}Expand description
Alle Editor-Handles plus die eine Registry, die sie adressiert.
Fields§
§state: SharedEditorState§undo: SharedCommandStack<EditorState>§project: SharedProjectDoc§world: SharedWorld§registry: SharedRegistry§vfx: SharedVfxDoc§workspace: Arc<Workspace>§capabilities: CapabilityRegistryImplementations§
Auto Trait Implementations§
impl !RefUnwindSafe for EditorContext
impl !Sync for EditorContext
impl !UnwindSafe for EditorContext
impl Freeze for EditorContext
impl Send for EditorContext
impl Unpin for EditorContext
impl UnsafeUnpin for EditorContext
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