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
[src]
fn is_empty(&self) -> bool
[src]
fn load(attrs: &Vec<Attribute>) -> Result<AnnotationSet, String>
[src]
fn list(&self, name: &str) -> Option<Vec<String>>
[src]
fn atom(&self, name: &str) -> Option<Option<String>>
[src]
fn bool(&self, name: &str) -> Option<bool>
[src]
fn parse_atom<T>(&self, name: &str) -> Option<T> where
T: Default + FromStr,
[src]
T: Default + FromStr,
Trait Implementations
impl Debug for AnnotationSet
[src]
impl Clone for AnnotationSet
[src]
fn clone(&self) -> AnnotationSet
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more