[][src]Struct isf::Isf

pub struct Isf {
    pub isfvsn: Option<String>,
    pub vsn: Option<String>,
    pub description: Option<String>,
    pub categories: Vec<String>,
    pub inputs: Vec<Input>,
    pub passes: Vec<Pass>,
    pub imported: BTreeMap<String, ImageImport>,
}

Representation of the JSON structure parsed from the top-level GLSL comment.

This is referred to as the "top-level dict" in the spec.

Fields

isfvsn: Option<String>vsn: Option<String>description: Option<String>categories: Vec<String>inputs: Vec<Input>passes: Vec<Pass>imported: BTreeMap<String, ImageImport>

Trait Implementations

impl Clone for Isf[src]

impl Debug for Isf[src]

impl<'de> Deserialize<'de> for Isf[src]

impl PartialEq<Isf> for Isf[src]

impl Serialize for Isf[src]

impl StructuralPartialEq for Isf[src]

Auto Trait Implementations

impl RefUnwindSafe for Isf

impl Send for Isf

impl Sync for Isf

impl Unpin for Isf

impl UnwindSafe for Isf

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: Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.