pub struct notification_bell { /* private fields */ }Expand description
The bell: its trigger with the unread count, and the sheet it opens.
A named path stays stable across builds (topcoat#441), and staying under /_topcoat/runtime
keeps the panel’s auth gate covering it.
Trait Implementations§
Source§impl Component for notification_bell
impl Component for notification_bell
Source§type Props<'__props> = NotificationBellProps
type Props<'__props> = NotificationBellProps
The component’s properties. The lifetime covers data borrowed from
the caller.
Source§fn render<'__a, '__props>(
self,
cx: &'__a Cx,
props: Self::Props<'__props>,
) -> impl Future<Output = Result<impl View>> + Send + '__awhere
Self: '__a,
Self::Props<'__props>: '__a,
'__props: '__a,
fn render<'__a, '__props>(
self,
cx: &'__a Cx,
props: Self::Props<'__props>,
) -> impl Future<Output = Result<impl View>> + Send + '__awhere
Self: '__a,
Self::Props<'__props>: '__a,
'__props: '__a,
Renders the component to a [
View]. Read morefn props_builder<'a>() -> <Self::Props<'a> as Props>::Builder
Source§impl Default for notification_bell
impl Default for notification_bell
Source§impl Route for notification_bell
impl Route for notification_bell
Source§fn handle<'cx>(&'cx self, cx: &'cx Cx, body: Body) -> RouteFuture<'cx>
fn handle<'cx>(&'cx self, cx: &'cx Cx, body: Body) -> RouteFuture<'cx>
Handles a request, producing a response.
§fn context(&self) -> ContextMap
fn context(&self) -> ContextMap
The values attached to this route, such as metadata that describes it. Read more
§fn is_current(&self, cx: &Cx) -> bool
fn is_current(&self, cx: &Cx) -> bool
Returns whether this route handles the current request. Read more
Auto Trait Implementations§
impl Freeze for notification_bell
impl RefUnwindSafe for notification_bell
impl Send for notification_bell
impl Sync for notification_bell
impl Unpin for notification_bell
impl UnsafeUnpin for notification_bell
impl UnwindSafe for notification_bell
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