#extracting event data

1 messages · Page 1 of 1 (latest)

bronze storm
#

if i have a &Box<ChannelCreate> im doing (&(*channel).0) to get a &Channel or (*channel.clone()).0 to get a Channel which are very weird, is there a better way to do these?

radiant laurel
#

&channel.0 and channel.clone ().0 should just work thanks to deref coercion