pub struct LinkbaseParser<R> { /* private fields */ }Expand description
The parser for XBRL linkbase documents.
Implementations§
Source§impl LinkbaseParser<BufReader<File>>
impl LinkbaseParser<BufReader<File>>
Source§impl<R: BufRead> LinkbaseParser<R>
impl<R: BufRead> LinkbaseParser<R>
Sourcepub fn from_reader(reader: R) -> Self
pub fn from_reader(reader: R) -> Self
Creates a new LinkbaseParser from the given BufReader.
Sourcepub fn parse_linkbase(
&mut self,
linkbase: &mut RawLinkbases,
) -> Result<(), XbrlError>
pub fn parse_linkbase( &mut self, linkbase: &mut RawLinkbases, ) -> Result<(), XbrlError>
Parses the linkbase document and fills the provided Linkbases struct
with the parsed links.
Auto Trait Implementations§
impl<R> Freeze for LinkbaseParser<R>where
R: Freeze,
impl<R> RefUnwindSafe for LinkbaseParser<R>where
R: RefUnwindSafe,
impl<R> Send for LinkbaseParser<R>where
R: Send,
impl<R> Sync for LinkbaseParser<R>where
R: Sync,
impl<R> Unpin for LinkbaseParser<R>where
R: Unpin,
impl<R> UnsafeUnpin for LinkbaseParser<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for LinkbaseParser<R>where
R: UnwindSafe,
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