pub struct ProgramDeclaration {
pub span: Span,
pub program_name: Identifier,
pub program_stages: Vec<ProgramStageDeclaration>,
}
Fields§
§span: Span
§program_name: Identifier
§program_stages: Vec<ProgramStageDeclaration>
Trait Implementations§
Source§impl Debug for ProgramDeclaration
impl Debug for ProgramDeclaration
Source§impl<'de> Deserialize<'de> for ProgramDeclaration
impl<'de> Deserialize<'de> for ProgramDeclaration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProgramDeclaration
impl PartialEq for ProgramDeclaration
Source§impl Serialize for ProgramDeclaration
impl Serialize for ProgramDeclaration
impl Eq for ProgramDeclaration
impl StructuralPartialEq for ProgramDeclaration
Auto Trait Implementations§
impl Freeze for ProgramDeclaration
impl RefUnwindSafe for ProgramDeclaration
impl Send for ProgramDeclaration
impl Sync for ProgramDeclaration
impl Unpin for ProgramDeclaration
impl UnwindSafe for ProgramDeclaration
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