Struct ironbird_engine_context::EngineContext
source · pub struct EngineContext { /* private fields */ }
Implementations
sourceimpl 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 !RefUnwindSafe for EngineContext
impl !Send for EngineContext
impl !Sync for EngineContext
impl Unpin for EngineContext
impl UnwindSafe for EngineContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more