pub struct KdlAdapter;Expand description
Parses .zen source bytes into a Document AST using the KDL v2 parser.
This is the only struct in zenith-core that directly touches the kdl crate.
All other code works with the Zenith AST types.
Trait Implementations§
Source§impl Clone for KdlAdapter
impl Clone for KdlAdapter
Source§fn clone(&self) -> KdlAdapter
fn clone(&self) -> KdlAdapter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KdlAdapter
impl Debug for KdlAdapter
Source§impl Default for KdlAdapter
impl Default for KdlAdapter
Source§fn default() -> KdlAdapter
fn default() -> KdlAdapter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KdlAdapter
impl RefUnwindSafe for KdlAdapter
impl Send for KdlAdapter
impl Sync for KdlAdapter
impl Unpin for KdlAdapter
impl UnsafeUnpin for KdlAdapter
impl UnwindSafe for KdlAdapter
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