pub struct Listing<'a> {
pub code: Code<'a>,
pub items: &'a [Item],
pub debug: Option<&'a Debug>,
pub sql: &'a [SqlEntry],
pub ccsid: Option<u16>,
}Expand description
A program’s code as text. The other sections name what the code refers to: items qualifies a
data name several items share, debug gives source positions, sql the EXEC SQL statements and
ccsid the code page literals are shown in. Each may be left empty, and is then not shown.
Fields§
§code: Code<'a>§items: &'a [Item]§debug: Option<&'a Debug>§sql: &'a [SqlEntry]§ccsid: Option<u16>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Listing<'a>
impl<'a> RefUnwindSafe for Listing<'a>
impl<'a> Send for Listing<'a>
impl<'a> Sync for Listing<'a>
impl<'a> Unpin for Listing<'a>
impl<'a> UnsafeUnpin for Listing<'a>
impl<'a> UnwindSafe for Listing<'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