pub struct ParsingOptions { /* private fields */ }Expand description
Parsing options for the crate::Reader to follow.
For now the only option that can be set is hls_tag_names_to_parse. For convenience, a builder
struct ParsingOptionsBuilder has been provided, to make constructing this struct easier.
Implementations§
Source§impl ParsingOptions
impl ParsingOptions
Sourcepub fn builder() -> ParsingOptionsBuilder
pub fn builder() -> ParsingOptionsBuilder
Start a builder for constructing the ParsingOptions.
Sourcepub fn hls_tag_names_to_parse(&self) -> &HashSet<TagName>
pub fn hls_tag_names_to_parse(&self) -> &HashSet<TagName>
The tag names that will be parsed by the crate::Reader.
HLS tags that are not included in this list will be parsed as
crate::line::HlsLine::UnknownTag.
Trait Implementations§
Source§impl Clone for ParsingOptions
impl Clone for ParsingOptions
Source§fn clone(&self) -> ParsingOptions
fn clone(&self) -> ParsingOptions
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 ParsingOptions
impl Debug for ParsingOptions
Source§impl Default for ParsingOptions
impl Default for ParsingOptions
Source§impl PartialEq for ParsingOptions
impl PartialEq for ParsingOptions
impl StructuralPartialEq for ParsingOptions
Auto Trait Implementations§
impl Freeze for ParsingOptions
impl RefUnwindSafe for ParsingOptions
impl Send for ParsingOptions
impl Sync for ParsingOptions
impl Unpin for ParsingOptions
impl UnsafeUnpin for ParsingOptions
impl UnwindSafe for ParsingOptions
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