pub struct ParsedYamlRegionSnapshot { /* private fields */ }Implementations§
Source§impl ParsedYamlRegionSnapshot
impl ParsedYamlRegionSnapshot
pub fn id(&self) -> &str
pub fn is_frontmatter(&self) -> bool
pub fn is_hashpipe(&self) -> bool
pub fn is_valid(&self) -> bool
pub fn error(&self) -> Option<&YamlParseError>
pub fn host_range(&self) -> Range<usize>
pub fn parse_error_host_offset(&self) -> Option<usize>
pub fn document_shape_summary(&self) -> Option<&str>
pub fn to_region(&self) -> YamlRegion
Trait Implementations§
Source§impl Clone for ParsedYamlRegionSnapshot
impl Clone for ParsedYamlRegionSnapshot
Source§fn clone(&self) -> ParsedYamlRegionSnapshot
fn clone(&self) -> ParsedYamlRegionSnapshot
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 ParsedYamlRegionSnapshot
impl Debug for ParsedYamlRegionSnapshot
Source§impl PartialEq for ParsedYamlRegionSnapshot
impl PartialEq for ParsedYamlRegionSnapshot
impl Eq for ParsedYamlRegionSnapshot
impl StructuralPartialEq for ParsedYamlRegionSnapshot
Auto Trait Implementations§
impl Freeze for ParsedYamlRegionSnapshot
impl RefUnwindSafe for ParsedYamlRegionSnapshot
impl Send for ParsedYamlRegionSnapshot
impl Sync for ParsedYamlRegionSnapshot
impl Unpin for ParsedYamlRegionSnapshot
impl UnsafeUnpin for ParsedYamlRegionSnapshot
impl UnwindSafe for ParsedYamlRegionSnapshot
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