pub struct Const<'tu> { /* private fields */ }
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<'_>
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