Provides read-only access to elements in a storage Vec.
This trait enables retrieving elements and checking the vector’s length without
modifying the underlying storage.
Returns the number of elements in the vector.
The length is stored at the vector’s base storage address and is automatically
updated when elements are appended.