These methods are either newtype casts that should compile to no-ops or directly calling into some other function with at most some pointer adjustments. As such making them `#[inline]` is definitely benefitial. There are also methods that check length and then call some other function. These are also worth inlining since the length could be known at compile time and the check could be eliminated. |
||
---|---|---|
.. | ||
borrowed.rs | ||
mod.rs | ||
owned.rs |