Module rsvg::util

source ·
Expand description

Miscellaneous utilities.

Functions§

  • cstr
    Error-tolerant C string import
  • Converts a char * which is known to be valid UTF-8 into an Option<&str>
  • Converts a char * which is known to be valid UTF-8 into a &str
  • Gets a known-to-be valid UTF-8 string given start/end-exclusive pointers to its bounds.
  • Gets a known-to-be valid UTF-8 string given a pointer to its start and a length.