euv-macros 0.42.0

Zero-overhead procedural macros for the cross-platform euv UI framework, providing view!, style!, class!, tokens!, watch!, computed!, component, and euv_main!.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::*;

/// Parser for `EntryInput`.
impl Parse for EntryInput {
    /// Parses the application bootstrap function identifier.
    ///
    /// # Arguments
    ///
    /// - `ParseStream<'_>` - Token input stream.
    ///
    /// # Returns
    ///
    /// - `Result<Self>` - Parsed `EntryInput`.
    fn parse(input: ParseStream<'_>) -> Result<Self> {
        let bootstrap: Ident = input.parse()?;
        Ok(Self { bootstrap })
    }
}