pub struct TextReader { /* private fields */ }Expand description
High level interface to text data.
Implementations§
Trait Implementations§
Source§impl AbstractData for TextReader
impl AbstractData for TextReader
Source§fn has_spec(&self, path: &Path) -> bool
fn has_spec(&self, path: &Path) -> bool
Returns
true if this data has a spec for the given path.Source§fn has_field(&self, path: &Path, field: &str) -> bool
fn has_field(&self, path: &Path, field: &str) -> bool
Returns
true if this data has a field for the given path.Source§fn spec_type(&self, path: &Path) -> Option<SpecType>
fn spec_type(&self, path: &Path) -> Option<SpecType>
Returns the type of the spec at the given path.
Auto Trait Implementations§
impl Freeze for TextReader
impl RefUnwindSafe for TextReader
impl Send for TextReader
impl Sync for TextReader
impl Unpin for TextReader
impl UnwindSafe for TextReader
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