pub struct RuntimeSession { /* private fields */ }Implementations§
Source§impl RuntimeSession
impl RuntimeSession
pub fn snapshot(&self) -> RuntimeSessionSnapshot
pub fn load_project_current( &mut self, request: ProjectRequestCurrent, ) -> RuntimeSessionResponse
pub fn validate_current(&mut self) -> RuntimeSessionResponse
pub fn plan_current(&mut self) -> RuntimeSessionResponse
pub fn run_current(&mut self, frames: usize) -> RuntimeSessionResponse
pub fn apply_mutation( &mut self, mutation: RuntimeMutationRequest, ) -> RuntimePatchResponse
pub fn apply_runtime_operation( &mut self, envelope: RuntimeOperationEnvelope, ) -> PasteGraphFragmentResponse
pub fn apply_collaboration_change_set_current( &mut self, target: GraphTargetRef, changes: Vec<RuntimeCollaborationChange>, actor_id: Option<String>, client_id: Option<String>, description: Option<String>, ) -> RuntimePatchResponse
pub fn history(&self) -> RuntimeHistory
pub fn undo(&mut self) -> RuntimePatchResponse
pub fn undo_for_actor(&mut self, actor_id: &str) -> RuntimePatchResponse
pub fn redo(&mut self) -> RuntimePatchResponse
pub fn redo_for_actor(&mut self, actor_id: &str) -> RuntimePatchResponse
pub fn reject_patch( &self, conflict: bool, diagnostics: Vec<RuntimeDiagnostic>, ) -> RuntimePatchResponse
pub fn clear(&mut self) -> RuntimeSessionResponse
pub fn apply_control_event( &mut self, request: RuntimeControlEventRequest, ) -> RuntimeControlEventResponse
pub fn control_state_response(&self) -> RuntimeControlStateResponse
pub fn control_revision(&self) -> u64
pub fn preview_control_state_snapshot( &self, ) -> Option<PreviewControlStateSnapshot>
pub fn read_control( &self, request: RuntimeControlReadRequest, ) -> RuntimeControlReadResponse
pub fn response( &self, ok: bool, diagnostics: Vec<RuntimeDiagnostic>, report: Option<DummyExecutionReport>, ) -> RuntimeSessionResponse
pub fn project_document_current(&self) -> Option<ProjectDocumentCurrent>
pub fn target_revision_current(&self, target: &GraphTargetRef) -> Option<String>
pub fn view_state(&self) -> Option<ViewState>
Trait Implementations§
Source§impl Debug for RuntimeSession
impl Debug for RuntimeSession
Auto Trait Implementations§
impl Forget for RuntimeSession
impl Freeze for RuntimeSession
impl RefUnwindSafe for RuntimeSession
impl Send for RuntimeSession
impl Sync for RuntimeSession
impl Unpin for RuntimeSession
impl UnsafeUnpin for RuntimeSession
impl UnwindSafe for RuntimeSession
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.