struct ContainerOptions {
transparent: Option<transparent>,
krate: Option<KeywordAttribute<Crate, LitStrValue<Path>>>,
}
Fields§
§transparent: Option<transparent>
Treat the Container as a Wrapper, directly convert its field into the output object.
krate: Option<KeywordAttribute<Crate, LitStrValue<Path>>>
Change the path for the pyo3 crate
Implementations§
Source§impl ContainerOptions
impl ContainerOptions
fn from_attrs(attrs: &[Attribute]) -> Result<Self>
fn set_option(&mut self, option: ContainerPyO3Attribute) -> Result<()>
Trait Implementations§
Source§impl Default for ContainerOptions
impl Default for ContainerOptions
Source§fn default() -> ContainerOptions
fn default() -> ContainerOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContainerOptions
impl RefUnwindSafe for ContainerOptions
impl !Send for ContainerOptions
impl !Sync for ContainerOptions
impl Unpin for ContainerOptions
impl UnwindSafe for ContainerOptions
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