pub enum PyClassKind {
Struct,
Enum,
}
Expand description
If the class is derived from a Rust struct
or enum
.
Variants§
Trait Implementations§
Source§impl Clone for PyClassKind
impl Clone for PyClassKind
Source§fn clone(&self) -> PyClassKind
fn clone(&self) -> PyClassKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PyClassKind
impl Debug for PyClassKind
Source§impl Eq for PyClassKind
impl Eq for PyClassKind
#[doc(hidden)] fn assert_receiver_is_total_eq(&self)
Source§impl PartialEq for PyClassKind
impl PartialEq for PyClassKind
impl Copy for PyClassKind
impl StructuralPartialEq for PyClassKind
Auto Trait Implementations§
impl Freeze for PyClassKind
impl RefUnwindSafe for PyClassKind
impl Send for PyClassKind
impl Sync for PyClassKind
impl Unpin for PyClassKind
impl UnwindSafe for PyClassKind
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
)