#[non_exhaustive]pub enum SegmentInfo {
Template(TemplateInfo),
List(ListInfo),
Base(BaseInfo),
}Expand description
A Representation’s effective Segment information (5.3.9.1): exactly one of the three kinds.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Template(TemplateInfo)
SegmentTemplate.
List(ListInfo)
SegmentList.
Base(BaseInfo)
SegmentBase or none: one Media Segment at the BaseURL, optionally
indexed by a sidx at @indexRange.
Trait Implementations§
Source§impl Clone for SegmentInfo
impl Clone for SegmentInfo
Source§impl Debug for SegmentInfo
impl Debug for SegmentInfo
Source§impl PartialEq for SegmentInfo
impl PartialEq for SegmentInfo
impl StructuralPartialEq for SegmentInfo
Auto Trait Implementations§
impl Forget for SegmentInfo
impl Freeze for SegmentInfo
impl RefUnwindSafe for SegmentInfo
impl Send for SegmentInfo
impl Sync for SegmentInfo
impl Unpin for SegmentInfo
impl UnsafeUnpin for SegmentInfo
impl UnwindSafe for SegmentInfo
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