Struct pyo3_macros_backend::frompyobject::ContainerOptions
source · [−]struct ContainerOptions {
transparent: bool,
annotation: Option<LitStr>,
krate: Option<CrateAttribute>,
}
Fields
transparent: bool
Treat the Container as a Wrapper, directly extract its fields from the input object.
annotation: Option<LitStr>
Change the name of an enum variant in the generated error message.
krate: Option<CrateAttribute>
Change the path for the pyo3 crate
Implementations
Trait Implementations
sourceimpl Default for ContainerOptions
impl Default for ContainerOptions
sourcefn default() -> ContainerOptions
fn default() -> ContainerOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ContainerOptions
impl !Send for ContainerOptions
impl !Sync for ContainerOptions
impl Unpin for ContainerOptions
impl UnwindSafe for ContainerOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more