[][src]Trait opencv_binding_generator::Element

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

Required methods

fn is_system(&self) -> bool

fn is_public(&self) -> bool

fn usr(&self) -> Cow<'_, str>

fn rendered_doc_comment_with_prefix(
    &self,
    prefix: &str,
    opencv_version: &str
) -> String

fn cpp_namespace(&self) -> Cow<'_, str>

fn cpp_localname(&self) -> Cow<'_, str>

fn rust_module(&self) -> Cow<'_, str>

fn rust_localname(&self) -> Cow<'_, str>

Loading content...

Provided methods

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

fn is_excluded(&self) -> bool

true if an element shouldn't be generated

fn is_ignored(&self) -> bool

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

fn rendered_doc_comment(&self, opencv_version: &str) -> String

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

fn cpp_fullname(&self) -> Cow<'_, str>

fn rust_namespace(&self) -> Cow<'_, str>

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

fn rust_leafname(&self) -> Cow<'_, str>

fn rust_fullname(&self) -> Cow<'_, str>

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...