pub struct PyImplOptions {
krate: Option<KeywordAttribute<Crate, LitStrValue<Path>>>,
}
Fields§
§krate: Option<KeywordAttribute<Crate, LitStrValue<Path>>>
Implementations§
Source§impl PyImplOptions
impl PyImplOptions
pub fn from_attrs(attrs: &mut Vec<Attribute>) -> Result<Self>
fn set_crate( &mut self, path: KeywordAttribute<Crate, LitStrValue<Path>>, ) -> Result<()>
Trait Implementations§
Source§impl Default for PyImplOptions
impl Default for PyImplOptions
Source§fn default() -> PyImplOptions
fn default() -> PyImplOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PyImplOptions
impl RefUnwindSafe for PyImplOptions
impl !Send for PyImplOptions
impl !Sync for PyImplOptions
impl Unpin for PyImplOptions
impl UnwindSafe for PyImplOptions
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