[−][src]Trait xrl::Frontend
The Frontend
trait must be implemented by clients. It defines how the
client handles notifications and requests coming from xi-core
.
Associated Types
type NotificationResult: IntoStaticFuture<Item = (), Error = ()>
[src]
type MeasureWidthResult: IntoStaticFuture<Item = Vec<Vec<f32>>, Error = ()>
[src]
Required methods
pub fn handle_notification(
&mut self,
notification: XiNotification
) -> Self::NotificationResult
[src]
&mut self,
notification: XiNotification
) -> Self::NotificationResult
pub fn handle_measure_width(
&mut self,
request: MeasureWidth
) -> Self::MeasureWidthResult
[src]
&mut self,
request: MeasureWidth
) -> Self::MeasureWidthResult