Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some more methods to vec and vec::bytes #7210

Closed
wants to merge 2 commits into from

Commits on Jun 22, 2013

  1. Add method .set_memory in vec::bytes for &[u8]

    Add new trait vec::bytes::MutableByteVector which currently defines one
    method .set_memory().
    lilyball committed Jun 22, 2013
    Configuration menu
    Copy the full SHA
    34d2c67 View commit details
    Browse the repository at this point in the history
  2. Add methods .move_from() and .copy_from() to vec

    Add method .move_from() to MutableVector, which consumes another vector
    and moves elements into the receiver.
    
    Add new trait MutableCloneableVector with one method .copy_from(), which
    clones elements from another vector into the receiver.
    lilyball committed Jun 22, 2013
    Configuration menu
    Copy the full SHA
    77cac76 View commit details
    Browse the repository at this point in the history