[][src]Trait opencv_binding_generator::Element

pub trait Element: Debug {
    pub fn is_system(&self) -> bool;
pub fn is_public(&self) -> bool;
pub fn usr(&self) -> Cow<'_, str>;
pub fn rendered_doc_comment_with_prefix(
        &self,
        prefix: &str,
        opencv_version: &str
    ) -> String;
pub fn cpp_namespace(&self) -> Cow<'_, str>;
pub fn cpp_localname(&self) -> Cow<'_, str>;
pub fn rust_module(&self) -> Cow<'_, str>;
pub fn rust_localname(&self) -> Cow<'_, str>; pub fn update_debug_struct<'dref, 'a, 'b>(
        &self,
        struct_debug: &'dref mut DebugStruct<'a, 'b>
    ) -> &'dref mut DebugStruct<'a, 'b> { ... }
pub fn is_excluded(&self) -> bool { ... }
pub fn is_ignored(&self) -> bool { ... }
pub fn rendered_doc_comment(&self, opencv_version: &str) -> String { ... }
pub fn cpp_name(&self, full: bool) -> Cow<'_, str> { ... }
pub fn cpp_fullname(&self) -> Cow<'_, str> { ... }
pub fn rust_namespace(&self) -> Cow<'_, str> { ... }
pub fn rust_name(&self, full: bool) -> Cow<'_, str> { ... }
pub fn rust_leafname(&self) -> Cow<'_, str> { ... }
pub fn rust_fullname(&self) -> Cow<'_, str> { ... } }

Required methods

pub fn is_system(&self) -> bool[src]

pub fn is_public(&self) -> bool[src]

pub fn usr(&self) -> Cow<'_, str>[src]

pub fn rendered_doc_comment_with_prefix(
    &self,
    prefix: &str,
    opencv_version: &str
) -> String
[src]

pub fn cpp_namespace(&self) -> Cow<'_, str>[src]

pub fn cpp_localname(&self) -> Cow<'_, str>[src]

pub fn rust_module(&self) -> Cow<'_, str>[src]

pub fn rust_localname(&self) -> Cow<'_, str>[src]

Loading content...

Provided methods

pub fn update_debug_struct<'dref, 'a, 'b>(
    &self,
    struct_debug: &'dref mut DebugStruct<'a, 'b>
) -> &'dref mut DebugStruct<'a, 'b>
[src]

pub fn is_excluded(&self) -> bool[src]

true if an element shouldn't be generated

pub fn is_ignored(&self) -> bool[src]

true if there shouldn't be any references to that element

pub fn rendered_doc_comment(&self, opencv_version: &str) -> String[src]

pub fn cpp_name(&self, full: bool) -> Cow<'_, str>[src]

pub fn cpp_fullname(&self) -> Cow<'_, str>[src]

pub fn rust_namespace(&self) -> Cow<'_, str>[src]

pub fn rust_name(&self, full: bool) -> Cow<'_, str>[src]

pub fn rust_leafname(&self) -> Cow<'_, str>[src]

pub fn rust_fullname(&self) -> Cow<'_, str>[src]

Loading content...

Implementations on Foreign Types

impl<'_> Element for Entity<'_>[src]

Loading content...

Implementors

impl<'_> Element for Class<'_>[src]

impl<'_> Element for Const<'_>[src]

impl<'_> Element for Enum<'_>[src]

impl<'_> Element for Func<'_>[src]

impl<'_> Element for Typedef<'_>[src]

Loading content...