/// Returns an iterator over the feature flags that will be necessary to compile loadstone
/// when using this configuration struct.
Returns an iterator over the feature flags that will be necessary to compile loadstone
when using this configuration struct.
Returns an iterator over the feature flags that will be necessary to compile loadstone when using this configuration struct .
pub fn required_feature_flags(&self) -> impl Iterator<Item = &'static str> {
        let mut flags = vec![];
        match self.port {
            Port::Stm32F412 => flags.push("stm32f412"),
            Port::Wgm160P => flags.push("wgm160p"),
        };
        if self.security_configuration.security_mode == SecurityMode::P256ECDSA {
            flags.push("ecdsa-verify");
        };
        flags.into_iter()
    }
pub fn required_feature_flags ( & self ) -> impl Iterator < Item = & ' static str > { let mut flags = vec ! [ ] ; match self . port { Port :: Stm32F412 => flags . push ( " " ) , Port :: Wgm160P => flags . push ( " " ) , } ; if self . security_configuration . security_mode == SecurityMode :: P256ECDSA { flags . push ( " " ) ; } ; flags . into_iter ( ) }
Returns an iterator over the feature flags that will be necessary to compile loadstone
when using this configuration struct.
Returns an iterator over the feature flags that will be necessary to compile loadstone when using this configuration struct .
&self