pub struct Engine { /* private fields */ }Implementations§
Source§impl Engine
impl Engine
pub fn new() -> Self
pub fn call(&self, request: Value) -> Value
pub fn set_language( &self, id: u64, language: Option<String>, ) -> Result<(), Failure>
pub fn snapshot(&self, id: u64) -> Result<Snapshot, Failure>
pub fn transaction( &self, id: u64, transaction: EditTransaction, selection: Option<BufferRange>, typing: u32, ) -> Result<EditResult, Failure>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Engine
impl Forget for Engine
impl Move for Engine
impl RefUnwindSafe for Engine
impl Send for Engine
impl Sync for Engine
impl Unpin for Engine
impl UnsafeUnpin for Engine
impl UnwindSafe for Engine
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