Struct opencv_binding_generator::Typedef
source · pub struct Typedef<'tu, 'ge> { /* private fields */ }
Implementations
sourceimpl<'tu, 'ge> Typedef<'tu, 'ge>
impl<'tu, 'ge> Typedef<'tu, 'ge>
pub fn new(entity: Entity<'tu>, gen_env: &'ge GeneratorEnv<'tu>) -> Self
pub fn type_ref(&self) -> TypeRef<'tu, 'ge>
pub fn underlying_type_ref(&self) -> TypeRef<'tu, 'ge>
pub fn generated_types(&self) -> Vec<GeneratedType<'tu, 'ge>> ⓘ
Trait Implementations
sourceimpl Element for Typedef<'_, '_>
impl Element for Typedef<'_, '_>
sourcefn is_excluded(&self) -> bool
fn is_excluded(&self) -> bool
true if an element shouldn’t be generated
sourcefn is_ignored(&self) -> bool
fn is_ignored(&self) -> bool
true if there shouldn’t be any references to that element
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_name(&self, style: CppNameStyle) -> Cow<'_, str>
fn rust_module(&self) -> Cow<'_, str>
fn rust_name(&self, style: NameStyle) -> Cow<'_, str>
fn rust_leafname(&self, _fish_style: FishStyle) -> Cow<'_, str>
fn update_debug_struct<'dref, 'a, 'b>(
&self,
struct_debug: &'dref mut DebugStruct<'a, 'b>
) -> &'dref mut DebugStruct<'a, 'b>
fn rendered_doc_comment(&self, opencv_version: &str) -> String
fn rust_namespace(&self) -> Cow<'_, str>
Auto Trait Implementations
impl<'tu, 'ge> !RefUnwindSafe for Typedef<'tu, 'ge>
impl<'tu, 'ge> !Send for Typedef<'tu, 'ge>
impl<'tu, 'ge> !Sync for Typedef<'tu, 'ge>
impl<'tu, 'ge> Unpin for Typedef<'tu, 'ge>where
'tu: 'ge,
impl<'tu, 'ge> !UnwindSafe for Typedef<'tu, 'ge>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more