pub trait PortablePlatform {
// Provided methods
fn clock(&mut self) -> PortableClock { ... }
fn linebreak_start(&mut self, _request: PortableLinebreakRequest<'_>) { ... }
fn linebreak_next(&mut self) -> Option<i32> { ... }
fn host_box(
&mut self,
_request: PortableHostBoxRequest,
) -> Option<PortableHostBox> { ... }
}Provided Methods§
fn clock(&mut self) -> PortableClock
fn linebreak_start(&mut self, _request: PortableLinebreakRequest<'_>)
fn linebreak_next(&mut self) -> Option<i32>
fn host_box( &mut self, _request: PortableHostBoxRequest, ) -> Option<PortableHostBox>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".