Crate lens_sdk

source ·
Expand description

This crate contains members to aid in the construction of a Rust Lens Module.

Modules§

  • Error types returned by lens_sdk.
  • Option type returned by lens_sdk.
  • Result type alias returned by lens_sdk.

Constants§

Functions§

  • Allocate the given size number of bytes in memory and returns a pointer to the first byte.
  • Manually drop the memory of the given size at the given location.
  • Manually drop the memory occupied by a transport buffer at the given location.
  • Returns a nil pointer.
  • Write the given message bytes to memory, returning a pointer to the first byte.
  • Read the data held at the given location in memory as the given TOutput type.
  • Write the given message bytes to memory, returning a pointer to the first byte.

Type Aliases§