pub trait TimeHost {
// Required methods
fn tick_id(&self) -> TickId;
fn frame_id(&self) -> FrameId;
fn next_timer_token(&mut self) -> TimerToken;
fn next_clipboard_token(&mut self) -> ClipboardToken;
fn next_share_sheet_token(&mut self) -> ShareSheetToken;
fn next_image_upload_token(&mut self) -> ImageUploadToken;
}Required Methods§
Sourcefn next_timer_token(&mut self) -> TimerToken
fn next_timer_token(&mut self) -> TimerToken
Allocates the next timer token.
Sourcefn next_clipboard_token(&mut self) -> ClipboardToken
fn next_clipboard_token(&mut self) -> ClipboardToken
Allocates the next clipboard token.
Allocates the next share-sheet token.
Sourcefn next_image_upload_token(&mut self) -> ImageUploadToken
fn next_image_upload_token(&mut self) -> ImageUploadToken
Allocates the next image-upload token.