pub enum Const<'tu> {
Clang {
entity: Entity<'tu>,
},
Desc(Rc<ConstDesc>),
}
Variants§
Implementations§
Trait Implementations§
Source§impl Element for Const<'_>
impl Element for Const<'_>
fn exclude_kind(&self) -> ExcludeKind
fn is_system(&self) -> bool
fn is_public(&self) -> bool
fn doc_comment(&self) -> Cow<'_, str>
fn cpp_namespace(&self) -> Cow<'_, str>
fn cpp_name(&self, style: CppNameStyle) -> Cow<'_, str>
fn update_debug_struct<'dref, 'a, 'b>( &self, struct_debug: &'dref mut DebugStruct<'a, 'b>, ) -> &'dref mut DebugStruct<'a, 'b>
Source§impl RustElement for Const<'_>
impl RustElement for Const<'_>
fn rust_module(&self) -> SupportedModule
fn rust_name(&self, style: NameStyle) -> Cow<'_, str>
fn rust_module_reference(&self) -> Cow<'_, str>
Source§fn rust_leafname(&self, _fish_style: FishStyle) -> Cow<'_, str>
fn rust_leafname(&self, _fish_style: FishStyle) -> Cow<'_, str>
The very last concrete part of the name in Rust Read more
fn rust_doc_comment(&self, comment_marker: &str, opencv_version: &str) -> String
Source§impl RustNativeGeneratedElement for Const<'_>
impl RustNativeGeneratedElement for Const<'_>
Auto Trait Implementations§
impl<'tu> Freeze for Const<'tu>
impl<'tu> RefUnwindSafe for Const<'tu>
impl<'tu> !Send for Const<'tu>
impl<'tu> !Sync for Const<'tu>
impl<'tu> Unpin for Const<'tu>
impl<'tu> UnwindSafe for Const<'tu>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more