#[repr(C)]pub struct SyntheticInstrument_API(/* private fields */);
Expand description
C compatible Foreign Function Interface (FFI) for an underlying
SyntheticInstrument
.
This struct wraps SyntheticInstrument
in a way that makes it compatible with C function
calls, enabling interaction with SyntheticInstrument
in a C environment.
It implements the Deref
trait, allowing instances of SyntheticInstrument_API
to be
dereferenced to SyntheticInstrument
, providing access to SyntheticInstruments
’s methods without
having to manually access the underlying instance.
Methods from Deref<Target = SyntheticInstrument>§
pub fn is_valid_formula(&self, formula: &str) -> bool
pub fn change_formula(&mut self, formula: String) -> Result<()>
Trait Implementations§
Source§impl Deref for SyntheticInstrument_API
impl Deref for SyntheticInstrument_API
Auto Trait Implementations§
impl Freeze for SyntheticInstrument_API
impl !RefUnwindSafe for SyntheticInstrument_API
impl Send for SyntheticInstrument_API
impl Sync for SyntheticInstrument_API
impl Unpin for SyntheticInstrument_API
impl !UnwindSafe for SyntheticInstrument_API
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