pub struct In<T: SpiceArg> { /* private fields */ }Available on non-crate feature
lock only.Expand description
Owns an input argument for the duration of a CSPICE call.
Dropping it releases whatever the conversion had to allocate, so a wrapper leaks nothing even when it is called in a tight loop.
Implementations§
Auto Trait Implementations§
impl<T> Freeze for In<T>
impl<T> RefUnwindSafe for In<T>
impl<T> Send for In<T>
impl<T> Sync for In<T>
impl<T> Unpin for In<T>
impl<T> UnsafeUnpin for In<T>
impl<T> UnwindSafe for In<T>
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