Skip to content

Instantly share code, notes, and snippets.

@roneygomes
Created November 27, 2021 03:07
Show Gist options
  • Save roneygomes/c6c231477b2bcd1627474e323d42c6ed to your computer and use it in GitHub Desktop.
Save roneygomes/c6c231477b2bcd1627474e323d42c6ed to your computer and use it in GitHub Desktop.
let mut array_wrapper = ArrayWrapper {
buffer: vec![]
};
let media: &mut dyn Write = &mut array_wrapper;
write(media, "alô mundo!");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment