[][src]Struct opencv_binding_generator::Class

pub struct Class<'tu, 'g> { /* fields omitted */ }

Implementations

impl<'tu, 'g> Class<'tu, 'g>[src]

pub fn new(entity: Entity<'tu>, gen_env: &'g GeneratorEnv<'tu>) -> Self[src]

pub fn new_ext(
    entity: Entity<'tu>,
    elaborate_name: Option<String>,
    gen_env: &'g GeneratorEnv<'tu>
) -> Self
[src]

pub fn type_ref(&self) -> TypeRef<'tu, 'g>[src]

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

pub fn as_template(&self) -> Option<Class<'tu, 'g>>[src]

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

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

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

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

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

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

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

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

pub fn rust_trait_localname(&self) -> Cow<str>[src]

pub fn rust_trait_fullname(&self) -> Cow<str>[src]

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

pub fn bases(&self) -> Vec<Class<'tu, 'g>>[src]

pub fn all_bases(&self) -> HashSet<Class<'tu, 'g>>[src]

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

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

pub fn methods(&self) -> Vec<Func<'tu, 'g>>[src]

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

pub fn fields(&self) -> Vec<Field<'tu, 'g>>[src]

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

pub fn dependent_types(&self) -> Vec<Box<dyn GeneratedElement + 'g>>[src]

pub fn cpp_method_call_name(&self, method_name: &str) -> String[src]

pub fn field_methods(
    &self,
    fields: impl Iterator<Item = &'g Field<'tu, 'g>>
) -> Vec<Func<'tu, 'g>>
[src]

Trait Implementations

impl<'tu, 'g> Clone for Class<'tu, 'g>[src]

impl<'_, '_> Debug for Class<'_, '_>[src]

impl<'_, '_> Display for Class<'_, '_>[src]

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

impl<'tu, '_> EntityElement<'tu> for Class<'tu, '_>[src]

impl<'_, '_> Eq for Class<'_, '_>[src]

impl<'_, '_> GeneratedElement for Class<'_, '_>[src]

impl<'_, '_> Hash for Class<'_, '_>[src]

impl<'_, '_> PartialEq<Class<'_, '_>> for Class<'_, '_>[src]

Auto Trait Implementations

impl<'tu, 'g> !RefUnwindSafe for Class<'tu, 'g>

impl<'tu, 'g> !Send for Class<'tu, 'g>

impl<'tu, 'g> !Sync for Class<'tu, 'g>

impl<'tu, 'g> Unpin for Class<'tu, 'g> where
    'tu: 'g, 

impl<'tu, 'g> !UnwindSafe for Class<'tu, 'g>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.