pub struct NoPetriVmFramebufferAccess;Expand description
Use this for the associated type if not supported
Trait Implementations§
Source§impl PetriVmFramebufferAccess for NoPetriVmFramebufferAccess
impl PetriVmFramebufferAccess for NoPetriVmFramebufferAccess
Source§fn screenshot<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_image: &'life1 mut Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<Option<VmScreenshotMeta>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn screenshot<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_image: &'life1 mut Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<Option<VmScreenshotMeta>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Populates the provided buffer with a screenshot of the VM,
returning the dimensions and color type.
Auto Trait Implementations§
impl Freeze for NoPetriVmFramebufferAccess
impl RefUnwindSafe for NoPetriVmFramebufferAccess
impl Send for NoPetriVmFramebufferAccess
impl Sync for NoPetriVmFramebufferAccess
impl Unpin for NoPetriVmFramebufferAccess
impl UnwindSafe for NoPetriVmFramebufferAccess
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