pub struct Segments(/* private fields */);Expand description
A collection of segments, backed by SmallVec for efficiency.
This newtype abstracts over the underlying storage, allowing future optimization (e.g., streaming) without breaking the API.
Implementations§
Trait Implementations§
Source§impl FromIterator<Segment> for Segments
impl FromIterator<Segment> for Segments
Source§impl<'a> IntoIterator for &'a Segments
impl<'a> IntoIterator for &'a Segments
Auto Trait Implementations§
impl Freeze for Segments
impl RefUnwindSafe for Segments
impl Send for Segments
impl Sync for Segments
impl Unpin for Segments
impl UnwindSafe for Segments
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more