pub struct EngineContext { /* private fields */ }
Implementations§
Source§impl EngineContext
impl EngineContext
Sourcepub fn new() -> EngineContextResult<Self>
pub fn new() -> EngineContextResult<Self>
Creates new IronbirdEngineContext instance. Must be called on platform thread.
Sourcepub fn get_flutter_view(&self, handle: i64) -> EngineContextResult<*mut c_void>
pub fn get_flutter_view(&self, handle: i64) -> EngineContextResult<*mut c_void>
Returns flutter view for given engine handle.
Sourcepub fn get_texture_registry(
&self,
handle: i64,
) -> EngineContextResult<FlutterTextureRegistry>
pub fn get_texture_registry( &self, handle: i64, ) -> EngineContextResult<FlutterTextureRegistry>
Returns texture registry for given engine handle.
Sourcepub fn get_binary_messenger(
&self,
handle: i64,
) -> EngineContextResult<FlutterBinaryMessenger>
pub fn get_binary_messenger( &self, handle: i64, ) -> EngineContextResult<FlutterBinaryMessenger>
Returns binary messenger for given engine handle.
Auto Trait Implementations§
impl Freeze for EngineContext
impl !RefUnwindSafe for EngineContext
impl !Send for EngineContext
impl !Sync for EngineContext
impl Unpin for EngineContext
impl UnwindSafe for EngineContext
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