pub struct ParseBytesResult {
pub blocks: Vec<RawBlock>,
pub diagnostics: Vec<Diagnostic>,
}Expand description
Output of HclEditLoader::parse_bytes. Cheap value type used by the
fuzz harness and synthetic-input tests.
Fields§
§blocks: Vec<RawBlock>Lowered blocks.
diagnostics: Vec<Diagnostic>Per-file diagnostics.
Trait Implementations§
Source§impl Debug for ParseBytesResult
impl Debug for ParseBytesResult
Source§impl Default for ParseBytesResult
impl Default for ParseBytesResult
Source§fn default() -> ParseBytesResult
fn default() -> ParseBytesResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParseBytesResult
impl RefUnwindSafe for ParseBytesResult
impl Send for ParseBytesResult
impl Sync for ParseBytesResult
impl Unpin for ParseBytesResult
impl UnsafeUnpin for ParseBytesResult
impl UnwindSafe for ParseBytesResult
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