pyo3::types::capsule

Trait AssertNotZeroSized

Source
#[doc(hidden)] pub trait AssertNotZeroSized: Sized {
    const _CONDITION: usize = _;
    const _CHECK: &'static str = _;

    // Provided method
    fn assert_not_zero_sized(&self) { ... }
}
Expand description

Guarantee T is not zero sized at compile time.

Provided Associated Constants§

Source

const _CONDITION: usize = _

Source

const _CHECK: &'static str = _

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here