pub struct RoundTripConstructor { /* private fields */ }Expand description
Comment-preserving constructor that maintains comments during parsing
Implementations§
Trait Implementations§
Source§impl CommentPreservingConstructor for RoundTripConstructor
impl CommentPreservingConstructor for RoundTripConstructor
Source§fn construct_commented(&mut self) -> Result<Option<CommentedValue>>
fn construct_commented(&mut self) -> Result<Option<CommentedValue>>
Construct a single value with comments
Source§fn check_data(&self) -> bool
fn check_data(&self) -> bool
Check if there are more values to construct
Auto Trait Implementations§
impl Freeze for RoundTripConstructor
impl !RefUnwindSafe for RoundTripConstructor
impl Send for RoundTripConstructor
impl Sync for RoundTripConstructor
impl Unpin for RoundTripConstructor
impl !UnwindSafe for RoundTripConstructor
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