Enum PyRungInput
pub(crate) enum PyRungInput {
Rung(PyRung),
Triple((NaiveDate, PyInstrument, f64)),
}Expand description
What a calibrator accepts per rung: a declared Rung, or the par triple.
Variants§
Trait Implementations§
§impl From<(NaiveDate, PyInstrument, f64)> for PyRungInput
impl From<(NaiveDate, PyInstrument, f64)> for PyRungInput
§fn from(triple: (NaiveDate, PyInstrument, f64)) -> Self
fn from(triple: (NaiveDate, PyInstrument, f64)) -> Self
Converts to this type from the input type.
§impl<'py> FromPyObject<'py> for PyRungInput
impl<'py> FromPyObject<'py> for PyRungInput
§fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>
fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>
Auto Trait Implementations§
impl !RefUnwindSafe for PyRungInput
impl !UnwindSafe for PyRungInput
impl Freeze for PyRungInput
impl Send for PyRungInput
impl Sync for PyRungInput
impl Unpin for PyRungInput
impl UnsafeUnpin for PyRungInput
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