Struct rust_apt::tagfile::TagSection
source · pub struct TagSection { /* private fields */ }Expand description
A section in a TagFile. A TagFile is made up of double-newline (\n\n)
separated paragraphs, each of which make up one of these sections.
Implementations§
source§impl TagSection
impl TagSection
sourcepub fn new(section: &str) -> Result<Self, ParserError>
pub fn new(section: &str) -> Result<Self, ParserError>
Create a new TagSection instance.
§Returns
Auto Trait Implementations§
impl RefUnwindSafe for TagSection
impl Send for TagSection
impl Sync for TagSection
impl Unpin for TagSection
impl UnwindSafe for TagSection
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