#[non_exhaustive]pub enum CppBodyKind {
Standard,
Thunk,
Stub,
Unknown,
}Expand description
The CppBodyKind type.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Standard
The Standard variant.
Thunk
The Thunk variant.
Stub
The Stub variant.
Unknown
The Unknown variant.
Trait Implementations§
Source§impl Clone for CppBodyKind
impl Clone for CppBodyKind
Source§impl Debug for CppBodyKind
impl Debug for CppBodyKind
Auto Trait Implementations§
impl Freeze for CppBodyKind
impl RefUnwindSafe for CppBodyKind
impl Send for CppBodyKind
impl Sync for CppBodyKind
impl Unpin for CppBodyKind
impl UnsafeUnpin for CppBodyKind
impl UnwindSafe for CppBodyKind
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