[][src]Struct watson::ProgramView

#[repr(C)]pub struct ProgramView<'a> {
    pub sections: Vec<SectionView<'a>>,
}

Fields

sections: Vec<SectionView<'a>>

Implementations

impl<'p> ProgramView<'p>[src]

pub fn find_exported_function<'a>(
    &'a self,
    name: &str
) -> Result<&'a ExportView<'_>, &'static str>
[src]

pub fn find_code_block<'a>(
    &'a self,
    index: usize
) -> Result<&'a CodeBlock, &'static str>
[src]

pub fn to_owned(&self) -> Program[src]

Trait Implementations

impl<'a> Debug for ProgramView<'a>[src]

impl<'de: 'a, 'a> Deserialize<'de> for ProgramView<'a>[src]

impl<'_> InterpretableProgram for ProgramView<'_>[src]

impl<'a> PartialEq<ProgramView<'a>> for ProgramView<'a>[src]

impl<'a> Serialize for ProgramView<'a>[src]

impl<'a> StructuralPartialEq for ProgramView<'a>[src]

Auto Trait Implementations

impl<'a> Send for ProgramView<'a>

impl<'a> Sync for ProgramView<'a>

impl<'a> Unpin for ProgramView<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.