pub fn pop_nonoptional(&mut self, key: &str) -> syn::Result<Option<Prop>> {
        match self.pop_unique(key) {
            Ok(Some(prop)) => {
                prop.ensure_not_optional()?;
                Ok(Some(prop))
            }
            res => res,
        }
    }
/// Pop the prop with the given key and error if it uses the optional attribute syntax.
Pop the prop with the given key and error if it uses the optional attribute syntax.
Pop the prop with the given key and error if it uses the optional attribute syntax .
pub fn pop_nonoptional(&mut self, key: &str) -> syn::Result<Option<Prop>> {
        match self.pop_unique(key) {
            Ok(Some(prop)) => {
                prop.ensure_not_optional()?;
                Ok(Some(prop))
            }
            res => res,
        }
    }
pub fn pop_nonoptional ( & mut self , key : & str ) -> syn :: Result < Option < Prop > > { match self . pop_unique ( key ) { Ok ( Some ( prop ) ) => { prop . ensure_not_optional ( ) ? ; Ok ( Some ( prop ) ) } res => res , } }
Pop the prop with the given key and error if it uses the optional attribute syntax.
Pop the prop with the given key and error if it uses the optional attribute syntax .
&mut self
key
&str
&mut self
key
&str