pub struct PartInf<'a> { /* private fields */ }Expand description
Corresponds to the #EXT-X-PART-INF tag.
https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-18#section-4.4.3.7
Implementations§
Source§impl<'a> PartInf<'a>
impl<'a> PartInf<'a>
Sourcepub fn part_target(&self) -> f64
pub fn part_target(&self) -> f64
Corresponds to the PART-TARGET attribute.
See Self for a link to the HLS documentation for this attribute.
Sourcepub fn set_part_target(&mut self, part_target: f64)
pub fn set_part_target(&mut self, part_target: f64)
Sets PART-TARGET attribute.
See Self for a link to the HLS documentation for this attribute.
Trait Implementations§
Source§impl<'a> IntoInnerTag<'a> for PartInf<'a>
impl<'a> IntoInnerTag<'a> for PartInf<'a>
Source§fn into_inner(self) -> TagInner<'a>
fn into_inner(self) -> TagInner<'a>
Consume
self and provide TagInner.Source§impl<'a> TryFrom<UnknownTag<'a>> for PartInf<'a>
impl<'a> TryFrom<UnknownTag<'a>> for PartInf<'a>
Source§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl<'a> Freeze for PartInf<'a>
impl<'a> RefUnwindSafe for PartInf<'a>
impl<'a> Send for PartInf<'a>
impl<'a> Sync for PartInf<'a>
impl<'a> Unpin for PartInf<'a>
impl<'a> UnsafeUnpin for PartInf<'a>
impl<'a> UnwindSafe for PartInf<'a>
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