Struct geodesy::OpConstructor
source · pub struct OpConstructor(pub fn(args: &RawParameters, ctx: &dyn Context) -> Result<Op, Error>);
Expand description
Blueprint for the overall instantiation of an operator.
OpConstructor needs to be a newtype, rather than a type alias, since we must implement the Debug-trait for OpConstructor (to make auto derive of the Debug-trait work for any derived type).
Tuple Fields§
§0: fn(args: &RawParameters, ctx: &dyn Context) -> Result<Op, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpConstructor
impl RefUnwindSafe for OpConstructor
impl Send for OpConstructor
impl Sync for OpConstructor
impl Unpin for OpConstructor
impl UnwindSafe for OpConstructor
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