pub struct Core { /* private fields */ }Expand description
Per-instance PixelFlow host state.
Implementations§
Source§impl Core
impl Core
Sourcepub fn with_config(config: CoreConfig) -> Result<Self>
pub fn with_config(config: CoreConfig) -> Result<Self>
Creates a core using explicit configuration.
Sourcepub const fn registry(&self) -> &FilterRegistry
pub const fn registry(&self) -> &FilterRegistry
Returns immutable registry access.
Sourcepub const fn registry_mut(&mut self) -> &mut FilterRegistry
pub const fn registry_mut(&mut self) -> &mut FilterRegistry
Returns mutable registry access for in-process registration.
Sourcepub const fn config(&self) -> &CoreConfig
pub const fn config(&self) -> &CoreConfig
Returns core configuration.
Sourcepub fn loaded_plugins(&self) -> &[LoadedPlugin]
pub fn loaded_plugins(&self) -> &[LoadedPlugin]
Returns plugins loaded during core construction.
Sourcepub const fn render_engine(&self) -> RenderEngine
pub const fn render_engine(&self) -> RenderEngine
Creates render engine using this core’s worker configuration.
Sourcepub fn render_ordered(
&self,
graph: Graph,
executors: RenderExecutorMap,
options: RenderOptions,
) -> Result<OrderedRender>
pub fn render_ordered( &self, graph: Graph, executors: RenderExecutorMap, options: RenderOptions, ) -> Result<OrderedRender>
Starts blocking ordered rendering using this core’s worker configuration.
Auto Trait Implementations§
impl Freeze for Core
impl !RefUnwindSafe for Core
impl Send for Core
impl Sync for Core
impl Unpin for Core
impl UnsafeUnpin for Core
impl !UnwindSafe for Core
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