Type Definition coca::object::InlineObject
source · [−]pub type InlineObject<T, const N: usize> = Object<T, InlineStorage<Align8, N>>;
This is supported on crate feature
unstable
only.Expand description
An object that stores dynamically-sized values in an inline array.
Note that this can only hold values with alignment less than or equal to 8.
If you need to store values with higher alignment requirements, use
InlineStorage
explicitly; the required alignment can be specified with
the first generic type parameter (using Align16
, Align32
, etc.).