Struct cbindgen::AnnotationSet
[−]
[src]
pub struct AnnotationSet { /* fields omitted */ }
A set of annotations specified by a document comment.
Methods
impl AnnotationSet
[src]
fn new() -> AnnotationSet
fn parse(text: String) -> Result<AnnotationSet, String>
fn list(&self, name: &str) -> Option<Vec<String>>
fn atom(&self, name: &str) -> Option<Option<String>>
fn bool(&self, name: &str) -> Option<bool>
fn parse_atom<T>(&self, name: &str) -> Option<T> where
T: Default + FromStr,
T: Default + FromStr,
Trait Implementations
impl Debug for AnnotationSet
[src]
impl Clone for AnnotationSet
[src]
fn clone(&self) -> AnnotationSet
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more