Struct pyo3_macros_backend::pyimpl::PyImplOptions
source · [−]pub struct PyImplOptions {
krate: Option<CrateAttribute>,
}
Fields
krate: Option<CrateAttribute>
Implementations
sourceimpl PyImplOptions
impl PyImplOptions
pub fn from_attrs(attrs: &mut Vec<Attribute>) -> Result<Self>
fn set_crate(&mut self, path: CrateAttribute) -> Result<()>
Trait Implementations
sourceimpl Default for PyImplOptions
impl Default for PyImplOptions
sourcefn default() -> PyImplOptions
fn default() -> PyImplOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for PyImplOptions
impl !Send for PyImplOptions
impl !Sync for PyImplOptions
impl Unpin for PyImplOptions
impl UnwindSafe for PyImplOptions
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