#[non_exhaustive]pub struct DashConfig {
pub segment_reference_scheme: SegmentReferenceScheme,
/* private fields */
}
Expand description
DASH
manifest configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.segment_reference_scheme: SegmentReferenceScheme
The segment reference scheme for a DASH
manifest. The default is
SEGMENT_LIST
.
Implementations§
Source§impl DashConfig
impl DashConfig
pub fn new() -> Self
Sourcepub fn set_segment_reference_scheme<T: Into<SegmentReferenceScheme>>(
self,
v: T,
) -> Self
pub fn set_segment_reference_scheme<T: Into<SegmentReferenceScheme>>( self, v: T, ) -> Self
Sets the value of segment_reference_scheme.
Trait Implementations§
Source§impl Clone for DashConfig
impl Clone for DashConfig
Source§fn clone(&self) -> DashConfig
fn clone(&self) -> DashConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DashConfig
impl Debug for DashConfig
Source§impl Default for DashConfig
impl Default for DashConfig
Source§fn default() -> DashConfig
fn default() -> DashConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for DashConfig
impl PartialEq for DashConfig
impl StructuralPartialEq for DashConfig
Auto Trait Implementations§
impl Freeze for DashConfig
impl RefUnwindSafe for DashConfig
impl Send for DashConfig
impl Sync for DashConfig
impl Unpin for DashConfig
impl UnwindSafe for DashConfig
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