pub struct ProgramDecorator {
pub name: String,
pub version: String,
pub requires: Vec<String>,
}Expand description
The @program decorator that must appear at the start of every Glyph file
Fields§
§name: StringProgram name
version: StringProgram version
requires: Vec<String>Required capabilities
Trait Implementations§
Source§impl Clone for ProgramDecorator
impl Clone for ProgramDecorator
Source§fn clone(&self) -> ProgramDecorator
fn clone(&self) -> ProgramDecorator
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProgramDecorator
impl Debug for ProgramDecorator
Source§impl<'de> Deserialize<'de> for ProgramDecorator
impl<'de> Deserialize<'de> for ProgramDecorator
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 ProgramDecorator
impl PartialEq for ProgramDecorator
Source§impl Serialize for ProgramDecorator
impl Serialize for ProgramDecorator
impl StructuralPartialEq for ProgramDecorator
Auto Trait Implementations§
impl Freeze for ProgramDecorator
impl RefUnwindSafe for ProgramDecorator
impl Send for ProgramDecorator
impl Sync for ProgramDecorator
impl Unpin for ProgramDecorator
impl UnwindSafe for ProgramDecorator
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