Skip to main content

dup_range

Function dup_range 

Source
pub fn dup_range(text: &str, length: usize) -> Option<String>
Expand description

Duplicates a bounded byte range as UTF-8 text.

§Parameters

§Returns

Returns Some when crate::platform::dup_range can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::platform::dup_range("{}", todo!());
  • crate::platform for adjacent helpers that share the same runtime surface.