pub struct FrontendExtensions { /* private fields */ }Expand description
Read-only middleware UI surface consumed by a frontend shell.
Implementations§
Source§impl FrontendExtensions
impl FrontendExtensions
Sourcepub fn contributions(&self) -> &[FrontendContribution]
pub fn contributions(&self) -> &[FrontendContribution]
Returns command and widget manifests in capability order.
Sourcepub fn render(&self, event: &EventMsg) -> Vec<FrontendBlock>
pub fn render(&self, event: &EventMsg) -> Vec<FrontendBlock>
Lets installed middleware render capability-specific events.
Trait Implementations§
Source§impl Clone for FrontendExtensions
impl Clone for FrontendExtensions
Source§fn clone(&self) -> FrontendExtensions
fn clone(&self) -> FrontendExtensions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for FrontendExtensions
impl !UnwindSafe for FrontendExtensions
impl Freeze for FrontendExtensions
impl Send for FrontendExtensions
impl Sync for FrontendExtensions
impl Unpin for FrontendExtensions
impl UnsafeUnpin for FrontendExtensions
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