What is Nostr?
Jay [MOVED HERE]
npub10mt…27hf
2025-02-15 02:56:52
in reply to nevent1q…e6mm

Jay [MOVED HERE] on Nostr: If you imagine a struct as a collection of information (structured data), impl ...

If you imagine a struct as a collection of information (structured data), impl (implementations) let you define some functionality around that data so you can use or transform it.

Then traits are predefined sets of functionality, but you can define the implementation based on whats in your struct.
Author Public Key
npub10mtatsat7ph6rsq0w8u8npt8d86x4jfr2nqjnvld2439q6f8ugqq0x27hf