These are chat archives for
Sign in to start talking
a safe, concurrent, practical language
Jul 12 2017 05:35
when implementing a trait you can only implement the methods listed in the trait
Alexander Ronald Altman
Jul 12 2017 07:06
only provides one method, you can just use a local function.
Jul 12 2017 15:20
hmm, local as in a function I impl directly on the struct or can I define more private methods with in the From?
ah or a function I guess I define outside the scope of any of those but still in the same "mod"
Jul 12 2017 15:32
You can do all of those things, but you can also nest function definitions within other functions:
Jul 12 2017 15:33
ahh! nice :)