pub struct IniDocument<'a> { /* private fields */ }Expand description
Parsed INI Core v1 source document. The lexer used for semantic loading and source editing is intentionally shared so both paths enforce the same section/key/duplicate rules.
Implementations§
Source§impl<'a> IniDocument<'a>
impl<'a> IniDocument<'a>
pub fn parse(source: &'a str) -> DocumentResult<Self>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for IniDocument<'a>
impl<'a> Freeze for IniDocument<'a>
impl<'a> Move for IniDocument<'a>
impl<'a> RefUnwindSafe for IniDocument<'a>
impl<'a> Send for IniDocument<'a>
impl<'a> Sync for IniDocument<'a>
impl<'a> Unpin for IniDocument<'a>
impl<'a> UnsafeUnpin for IniDocument<'a>where
&'a str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<IniEntry<'a>>: UnsafeUnpin,
*const LeafNode<&'a str, usize> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(&'a str, usize)>>: UnsafeUnpin,
impl<'a> UnwindSafe for IniDocument<'a>
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