pub struct Const<'tu> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Element for Const<'_>
impl Element for Const<'_>
Source§fn is_excluded(&self) -> bool
fn is_excluded(&self) -> bool
true if an element shouldn’t be generated
fn is_system(&self) -> bool
fn is_public(&self) -> bool
fn usr(&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§fn is_ignored(&self) -> bool
fn is_ignored(&self) -> bool
true if there shouldn’t be any references to that element
Source§impl RustElement for Const<'_>
impl RustElement for Const<'_>
fn rust_module(&self) -> Cow<'_, str>
fn rust_name(&self, style: NameStyle) -> Cow<'_, str>
fn rust_leafname(&self, _fish_style: FishStyle) -> Cow<'_, str>
fn rendered_doc_comment_with_prefix( &self, prefix: &str, opencv_version: &str, ) -> String
fn rust_namespace(&self) -> Cow<'_, str>
fn rendered_doc_comment(&self, 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)