lisette-stdlib 0.1.26

Little language inspired by Rust that compiles to Go
Documentation
// Generated by Lisette bindgen
// Source: unique (Go stdlib)
// Go: 1.25.5
// Lisette: 0.1.24

pub fn Make<T: Comparable>(value: T) -> Handle<T>

/// Handle is a globally unique identity for some value of type T.
/// 
/// Two handles compare equal exactly if the two values used to create the handles
/// would have also compared equal. The comparison of two handles is trivial and
/// typically much more efficient than comparing the values used to create them.
pub type Handle<T: Comparable>

impl<T: Comparable> Handle<T> {
  /// Value returns a shallow copy of the T value that produced the Handle.
  /// Value is safe for concurrent use by multiple goroutines.
  fn Value(self) -> T
}