Commit Graph

78 Commits

Author SHA1 Message Date
root 1eec0d4834 Make sure the methods on RangeArgument can be inlined 2015-05-23 12:43:45 +02:00
root 3175d97f80 Implement ArrayVec::clear 2015-05-23 03:12:38 +02:00
root be2979d87a Make sure methods in helper trait Index are inlined 2015-05-23 00:52:26 +02:00
root 37c0f53708 Add another testcase to insert 2015-05-23 00:52:26 +02:00
root ebf260ea90 Implement ArrayVec::insert 2015-05-22 20:18:01 +02:00
root d3b3fc16fb Implement array sizes in the 16-bit index range 2015-05-22 20:16:41 +02:00
root 8f8db4a3ed Implement ArrayVec::remove() and ::drain() 2015-05-22 14:22:43 +02:00
root 33e31b8ecf Implement ArrayVec::swap_remove 2015-05-22 13:49:44 +02:00
root 1b42f992ed Move Array trait to separate file
Also remove the ::new() method on the trait
2015-05-22 13:26:01 +02:00
root 00466e6efd Simplify drop test (Rc is redundant) 2015-05-21 16:04:38 +02:00
root 8047dc621c Use crate nodrop -- it moved to a separate crate 2015-05-21 11:54:46 +02:00
root 31f95d1818 Use #[repr(u8)] on the Flag enum 2015-05-20 17:17:17 +02:00
root 8730a3584b Move len last in the struct
Put len last so that it sits next to the drop flag (as of current rust)
which saves padding for element types with size_of > 1.
2015-05-20 17:17:17 +02:00
root 5b916cab16 Implement DoubleEndedIterator for ArrayVec 2015-05-20 17:17:17 +02:00
root ad4780704a Remove redundant imports 2015-05-20 17:17:17 +02:00
root 4e9e50effc Add missing inline 2015-05-20 17:17:17 +02:00
root b1390749f9 Add essential traits: Clone, Eq, Hash, referencing traits, Debug 2015-05-19 19:19:12 +02:00
root 4ac4a0bbee Add test for Send + Sync 2015-05-19 18:18:41 +02:00
root 311ab8916c Implement Extend and FromIterator 2015-05-19 18:14:37 +02:00
root 7f3b11adb3 Edit docs 2015-05-19 17:19:03 +02:00
root f4103ad939 Add IntoIterator for &mut ArrayVec 2015-05-19 17:16:31 +02:00
root f5da5c9fe2 cleanup 2015-05-19 17:09:06 +02:00
root 55612bcae8 Add comment to Array::new 2015-05-19 17:09:06 +02:00
root 04b9af476b Test for drop 2015-05-19 17:09:06 +02:00
root d74dfcc5cc Tests 2015-05-19 17:09:06 +02:00
root 23136eb652 Docs 2015-05-19 17:09:06 +02:00
root faa05e2ca8 More sizes 2015-05-19 17:09:06 +02:00
root 1a39598633 Initial commit 2015-05-19 17:09:06 +02:00