pub struct PyParametricInstance(/* private fields */);Expand description
Output wrapper converting a Rust ommx::ParametricInstance into ommx.ParametricInstance.
Implementations§
Source§impl PyParametricInstance
impl PyParametricInstance
Sourcepub fn new(value: ParametricInstance) -> Self
pub fn new(value: ParametricInstance) -> Self
Create a Python output wrapper for the value.
Trait Implementations§
Source§impl Clone for PyParametricInstance
impl Clone for PyParametricInstance
Source§fn clone(&self) -> PyParametricInstance
fn clone(&self) -> PyParametricInstance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PyParametricInstance
impl Debug for PyParametricInstance
Source§impl From<ParametricInstance> for PyParametricInstance
impl From<ParametricInstance> for PyParametricInstance
Source§fn from(value: ParametricInstance) -> Self
fn from(value: ParametricInstance) -> Self
Converts to this type from the input type.
Source§impl<'py> IntoPyObject<'py> for PyParametricInstance
impl<'py> IntoPyObject<'py> for PyParametricInstance
Source§impl PyStubType for PyParametricInstance
impl PyStubType for PyParametricInstance
Source§fn type_output() -> TypeInfo
fn type_output() -> TypeInfo
The type to be used in the output signature, i.e. return type of the Python function or methods.
Source§fn type_input() -> TypeInfo
fn type_input() -> TypeInfo
The type to be used in the input signature, i.e. the arguments of the Python function or methods. Read more
Auto Trait Implementations§
impl Freeze for PyParametricInstance
impl RefUnwindSafe for PyParametricInstance
impl Send for PyParametricInstance
impl Sync for PyParametricInstance
impl Unpin for PyParametricInstance
impl UnsafeUnpin for PyParametricInstance
impl UnwindSafe for PyParametricInstance
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
Source§fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
Converts
self into an owned Python object, dropping type information.